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

Component tree is not visited during RenderResponsePhase

    Details

    • Sprint:
      4.5.0.Beta1 - Final Sprint
    • Steps to Reproduce:
      Hide
      1. It can be reproduced on showcase as there are such popups
      2. load showcase from Openshift: http://showcase-latest.richfaces.org/richfaces/component-sample.jsf?demo=focus&sample=focusDelayed&skin=blueSky
      3. click on "Show popup" button
      4. write into name input e.g.: "a"
      5. click on the "Save" button
      6. see that the panel is closed, even when there are validation errors
      Show
      It can be reproduced on showcase as there are such popups load showcase from Openshift: http://showcase-latest.richfaces.org/richfaces/component-sample.jsf?demo=focus&sample=focusDelayed&skin=blueSky click on " Show popup " button write into name input e.g.: " a " click on the " Save " button see that the panel is closed, even when there are validation errors

      Description

      Consider please a form with multiple inputs inside popupPanel, which is configured to hide when there are no validation issues.

      The issue is: If the form is submitted e.g. with a4j:commandButton, then it hides even when there are some validation issues.

      PopupPanel has set oncomplete attribute to:

      oncomplete="if (!#{facesContext.validationFailed}) { #{rich:component('popup')}.hide(); } "
      

      facesContext.validationFailed is wrongly evaluated always to false.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                michpetrov Michal Petrov
                Reporter:
                jhuska Juraj Húska
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: