[
https://issues.jboss.org/browse/RF-12108?page=com.atlassian.jira.plugin.s...
]
Patrick Schmidt commented on RF-12108:
--------------------------------------
Hello,
I am having the same problem. However in my case switching to the tab with rich:messages
and then switching back doesn't fix ajax functionality. I just attached a simple
example, in which the ajax functionality in the second tab is always broken. Initially I
used a4j:outputPanel with ajaxRendered="true", but its the same as with
rich:messages. I am using RichFaces 4.3.0.Final.
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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira