Ricard Moré created MYFACES-3767:
------------------------------------

             Summary: inputText inside container not initially rendered, is not 
updated after beeing showed using immediate=true 
                 Key: MYFACES-3767
                 URL: https://issues.apache.org/jira/browse/MYFACES-3767
             Project: MyFaces Core
          Issue Type: Bug
          Components: General
    Affects Versions: 2.1.3
         Environment: Windows, tomcat 6.0.36
            Reporter: Ricard Moré


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.


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to