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

Nick Belaevski (JIRA) jira-events at lists.jboss.org
Wed Jun 30 18:15:46 EDT 2010


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

Nick Belaevski resolved RF-6039.
--------------------------------

    Resolution: Cannot Reproduce Bug


Cannot reproduce even with RF 3.2.2. Probably an issue of JSF.

> reRender is f:subview blind (and it shouldn't)
> ----------------------------------------------
>
>                 Key: RF-6039
>                 URL: https://jira.jboss.org/browse/RF-6039
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: component, core
>    Affects Versions: 3.2.2
>            Reporter: Francisco Jose Peredo Noguez
>            Assignee: Nick Belaevski
>             Fix For: 4.0.0.Milestone1
>
>
> 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/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the richfaces-issues mailing list