[richfaces-issues] [JBoss JIRA] Updated: (RF-6039) reRender is f:subview blind (and it shouldn't)

Francisco Jose Peredo Noguez (JIRA) jira-events at lists.jboss.org
Thu Feb 5 13:18:44 EST 2009


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

Francisco Jose Peredo Noguez updated RF-6039:
---------------------------------------------

    Summary: reRender is f:subview blind (and it shouldn't)  (was: Rerender is SubView Blind)


> reRender is f:subview blind (and it shouldn't)
> ----------------------------------------------
>
>                 Key: RF-6039
>                 URL: https://jira.jboss.org/jira/browse/RF-6039
>             Project: RichFaces
>          Issue Type: Bug
>            Reporter: Francisco Jose Peredo Noguez
>
> rerender is subView blind, lets say we have 2 subview
> <f:subview id="idSubview1">
> <a:aRichControl="idOfRichControl">
> <a:commandButton id="commandButton" reRender = "idOfRichControl">
> </f:subview id="someSubview1">
> <f:subview id="idSubview2">
> <a:aRichControlid="idOfRichControl">
> <a:commandButton id="commandButton" reRender = "idOfRichControl">
> </f:subview id="someSubview1">
> Since we are using subview, it does not matter that the id of the aRichControl inside each of the subview is the same, because the id of the subview is prefixed on runtime, so the ids of the two aRichControl end up being idSubview1:idOfRichControl and idSubview2:idOfRichControl.
> But the problem is that reRender  is  subView blind, so, idSubview2.commandButton will reRender the first idSubview1:idOfRichControl instead of  idSubview2:idOfRichControl.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the richfaces-issues mailing list