[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
Fri Apr 20 09:12:18 EDT 2012


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

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

        Summary: RF4.2: Render and Oncomplete attributes not evaluated after invokeApplication if command is not rendered anymore  (was: RF4.2: Oncomplete not evaluated after invokeApplication if command is not rendered anymore)
    Description: 
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.

  was:
Sample use case:
The last page of a wizard contains a commandButton with an EL expression in the oncomplete 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 expression of the oncomplete 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



Updated summary and description: oncomplete AND render attribute are affected
                
> 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
>            Priority: Critical
>         Attachments: onc333.war, onc42.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