Uploaded image for project: 'MyFaces Core'
  1. MyFaces Core
  2. MYFACES-3767

inputText inside container not initially rendered, is not updated after beeing showed using immediate=true

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Invalid
    • 2.1.3
    • None
    • General
    • None
    • Windows, tomcat 6.0.36

    Description

      I got two inputText, one outputText and 1 ajax button inside a ui:fragment that initially has value of false for his rendered attribute. The second inputText and the outputText got the same value.

      The button (copy button) simply copies the value from the first inputText to the second one and the outputText.
      Outside the fragment there's another button (show button) tha changes the value of the rendered atribute from false to true. This button execs an actionListener with immediate=true.

      The point is that, once the fields are visible, the text in the first inputText is not copied to the second one but in the outputText by clickind the copy button.
      If you change the immendiate value of the show button to false, it works fine (both input and output are updated at once). Also, if you show the fields using ajax tag with immediate=true it works as expected.

      Attachments

        1. bug.jsp
          1 kB
          Ricard Moré

        Activity

          People

            lu4242 Leonardo Uribe
            rmore Ricard Moré
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: