[richfaces-issues] [JBoss JIRA] (RF-13748) Rich Tab switching in uiRepeat template
Michal Petrov (JIRA)
issues at jboss.org
Wed Jul 30 04:18:30 EDT 2014
[ https://issues.jboss.org/browse/RF-13748?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michal Petrov updated RF-13748:
-------------------------------
Steps to Reproduce:
* Start Wildfly
* Deploy Metamer and load [this page|http://localhost:8080/metamer/faces/components/richTab/simple.xhtml?templates=uiRepeat] (it already loads with template)
* Switch to second tab
** In phases panel you will see {{item changed: tab1 -> tab2}}
** This works fine
* Switch back to first tab and see the value in phases panel again
** EXPECTED: {{item changed: tab2 -> tab1}}
** ACTUAL: {{item changed: null -> tab1}}
was:
* Start Wildfly
* Deploy Metamer and load [this page|http://localhost:8080/metamer/faces/components/richTab/simple.xhtml??templates=uiRepeat] (it already loads with template)
* Switch to second tab
** In phases panel you will see {{item changed: tab1 -> tab2}}
** This works fine
* Switch back to first tab and see the value in phases panel again
** EXPECTED: {{item changed: tab2 -> tab1}}
** ACTUAL: {{item changed: null -> tab1}}
> Rich Tab switching in uiRepeat template
> ---------------------------------------
>
> Key: RF-13748
> URL: https://issues.jboss.org/browse/RF-13748
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 4.5.0.Alpha3
> Reporter: Matej Novotny
> Labels: uiRepeat#setIndex
>
> Using Metamer (in order to have the phases info in the page header) go to [richTab sample page with uiRepeat template|http://localhost:8080/metamer/faces/components/richTab/simple.xhtml??templates=uiRepeat]. Switching tabs for the first time works fine, in phase panel info below {{UPDATE_MODEL_VALUES 4}} you can see value {{item changed: tab1 -> tab2}}. But if you now try to switch it back to first tab, the value will be {{item changed: null -> tab1}}.
> Instead the value should be {{item changed: tab2 -> tab1}}.
> This can be reproducer with collapsible table as well.
> Also we have a [test|https://github.com/richfaces/richfaces-qa/blob/master/metamer/ftest/src/test/java/org/richfaces/tests/metamer/ftest/richTab/TestTab.java#L105] covering this issue.
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
More information about the richfaces-issues
mailing list