[
https://issues.jboss.org/browse/RF-12108?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Artur Mioduszewski updated RF-12108:
------------------------------------
Description:
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.
was:
In case getting 2 tabs (in my case it is primefaces tabs):
{code:title=RENDERING ON SECOND TAB NOT WORKS (after clicking link)}
1. tab:
<h:selectOneMenu id="nSurfacePercentageOfWholePlayback"
value="#{newSurface.percentageOfWholePlayback}">
<f:selectItems value="#{staticPercentagesItems}"/>
</h:selectOneMenu>
<rich:message for="nSurfacePercentageOfWholePlayback" ajaxRendered="true"/>
2. 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)}
1. tab:
<h:selectOneMenu id="nSurfacePercentageOfWholePlayback"
value="#{newSurface.percentageOfWholePlayback}">
<f:selectItems value="#{staticPercentagesItems}"/>
</h:selectOneMenu>
<rich:message for="nSurfacePercentageOfWholePlayback" ajaxRendered="false"/>
2. 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.
> 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
> Environment: JDK1.6,
> JBoss 6.0.Final,
> richfaces 4.1.0.Final/4.2.0.Final
> seam 3.1
> IE 9
> Reporter: Artur Mioduszewski
>
> 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:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
richfaces-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/richfaces-issues