Uploaded image for project: 'RichFaces'
  1. RichFaces
  2. RF-14174

validator: @immediate does not work and has wrong description

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 4.5.3, 4.5.10
    • Fix Version/s: 4.5.11
    • Component/s: None
    • Labels:
      None
    • Environment:

      Metamer 4.5.11-SNAPSHOT
      Tomcat 8
      Firefox 40

    • Steps to Reproduce:
      Hide

      Could be reproduced in Metamer.

      1. deploy Metamer and open page with predefined immediate and listener
      2. select input which causes ajax request for validation, e.g. Decimal, from 2.5 to 9.688 and put there some value, e.g. 5 and blur the input
      3. check phasesPanel in the top right corner and see, that the listener was called in phase PROCESS_VALIDATIONS 3 instead of APPLY_REQUEST_VALUES 2
      Show
      Could be reproduced in Metamer. deploy Metamer and open page with predefined immediate and listener select input which causes ajax request for validation, e.g. Decimal, from 2.5 to 9.688 and put there some value, e.g. 5 and blur the input check phasesPanel in the top right corner and see, that the listener was called in phase PROCESS_VALIDATIONS 3 instead of APPLY_REQUEST_VALUES 2

      Description

      The @listener is always executed in phase PROCESS_VALIDATIONS (3) with or without @immediate is turned on.

      Also the VDL-doc is probably not correct:

      Flag indicating that, if this component is activated by the user, notifications should be delivered to interested listeners and actions immediately (that is, during Apply Request Values phase) rather than waiting until the Invoke Application phase.

      Shouldn't there be Process Validation instead of Invoke Application phase?

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                michpetrov Michal Petrov
                Reporter:
                jstefek Jiří Štefek
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: