]
Francisco Jose Peredo Noguez updated RF-6039:
---------------------------------------------
Affects Version/s: 3.2.2
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
Affects Versions: 3.2.2
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: