[
https://issues.jboss.org/browse/RF-12108?page=com.atlassian.jira.plugin.s...
]
Patrik Dudits commented on RF-12108:
------------------------------------
We've hit this issue in combination with {{collapsiblePanel}}, but even without
explicit {{ajaxRendered="true"}}. However, setting
{{ajaxRendered="false"}} on message component was a viable workaround.
My understanding of the cause is, that a partial update for the `message` component is
sent out, but but the component has been *removed* from the DOM by parent container - be
it tabs, collapsible panel, or whatever that removes DOM nodes. Therefore I think that
`message` needs to better reckognize if it is present at client side, even if it may
appear that it is rendered in the view tree.
Components second tab changes are not rendered after performing some
ajax action if attribute ajaxRendered="true" inside <rich:message />
located on first tab
---------------------------------------------------------------------------------------------------------------------------------------------------------------
Key: RF-12108
URL:
https://issues.jboss.org/browse/RF-12108
Project: RichFaces
Issue Type: Bug
Security Level: Public(Everyone can see)
Affects Versions: 4.2.0.Final, 4.2.2.Final
Environment: JDK1.6,
JBoss 6.0.Final, JBoss 7.1.1.Final
richfaces 4.1.0.Final/4.2.0.Final/4.2.2.Final
seam 3.1
IE 9, Chrome, Firefox
Reporter: Artur Mioduszewski
Fix For: 5-Tracking
Attachments: sample.xhtml
In case getting 2 tabs (in my case it is primefaces tabs):
{code:title=RENDERING ON SECOND TAB NOT WORKS (after clicking link)}
First tab:
<h:selectOneMenu id="nSurfacePercentageOfWholePlayback"
value="#{newSurface.percentageOfWholePlayback}">
<f:selectItems value="#{staticPercentagesItems}"/>
</h:selectOneMenu>
<rich:message for="nSurfacePercentageOfWholePlayback"
ajaxRendered="true"/>
Second tab (some code with ajax)
Ex.
<a4j:commandLink styleClass="no-decor" execute="@this"
action="#{componentManager.deactivateVertically}">
<h:graphicImage value="/images/icons/delete.gif" alt="Deactivate
Vertically"/>
<a4j:param value="#{dayIndex.index + 1}"
assignTo="#{componentManager.verticalDeactivationIndex}"/>
</a4j:commandLink>
{code}
{code:title=RENDERING ON SECOND TAB CORRECTLY WORKS (after clicking link)}
First tab:
<h:selectOneMenu id="nSurfacePercentageOfWholePlayback"
value="#{newSurface.percentageOfWholePlayback}">
<f:selectItems value="#{staticPercentagesItems}"/>
</h:selectOneMenu>
<rich:message for="nSurfacePercentageOfWholePlayback"
ajaxRendered="false"/>
Second tab (some code with ajax)
Ex.
<a4j:commandLink styleClass="no-decor" execute="@this"
action="#{componentManager.deactivateVertically}">
<h:graphicImage value="/images/icons/delete.gif" alt="Deactivate
Vertically"/>
<a4j:param value="#{dayIndex.index + 1}"
assignTo="#{componentManager.verticalDeactivationIndex}"/>
</a4j:commandLink>
{code}
When I change tabs order, problem does not exist.
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)