[richfaces-issues] [JBoss JIRA] (RF-12145) RF4.2: Render and Oncomplete attributes not evaluated after invokeApplication if command is not rendered anymore

Michael Heinen (JIRA) jira-events at lists.jboss.org
Wed Apr 25 07:43:17 EDT 2012


     [ https://issues.jboss.org/browse/RF-12145?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Heinen updated RF-12145:
--------------------------------

    Attachment: zOnc42WithLibs.war


The four richfaces jars must be copied into the lib folder. They are not included due to the 10MB upload limit.

OncController source is insde the war.

Just call ../faces/oncomplete.xhtml
                
> RF4.2: Render and Oncomplete attributes not evaluated after invokeApplication if command is not rendered anymore
> ----------------------------------------------------------------------------------------------------------------
>
>                 Key: RF-12145
>                 URL: https://issues.jboss.org/browse/RF-12145
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>    Affects Versions: 4.2.0.Final
>         Environment: MyFaces 2.1.6
> Tomcat 6.0.35
>            Reporter: Michael Heinen
>            Assignee: Jan Papousek
>            Priority: Critical
>         Attachments: onc333.war, onc42.war, zOnc42New.war, zOnc42WithLibs.war
>
>
> Sample use case:
> The last page of a wizard contains a commandButton with an EL expressions in the oncomplete attribute and in the render attribute.
> This button renders an outer component in order to close the wizard. The button itself is not rendered anymore after clicking it.
> As a consequence the EL expressions of the oncomplete attribute and of the render attribute is not evaluated after the invocation of an actionListener.
> This worked well with richfaces 3.3.3, therefore it's a critical regression.
> I'll attach a sample webApp for richfaces 4.2 and for riochfaces 3.3.3
> Note that the render attribute of f:ajax is evaluated correctly.
> These attributes of the clicked command must be evaluated in phase render response in all cases.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the richfaces-issues mailing list