[
https://issues.jboss.org/browse/RF-11735?page=com.atlassian.jira.plugin.s...
]
Rene O commented on RF-11735:
-----------------------------
The workaround with itemchangelistener works
{code}
<rich:tabPanel switchType="ajax" id="tabPanel"
activeItem="#{model.activeTab}" immediate="true"
itemChangeListener="#{ctr.changeTabActiveItem}">
...
</rich:tabPanel>
{code}
{code}
public void changeTabActiveItem(ItemChangeEvent event){
System.out.println("changeTabActiveItem");
model.setActiveTab(event.getNewItemName());
}
{code}
But i think, that #{model.activeTab} should also change if you don't use an
itemchangelistener.
[rich:tabPanel] activeItem doesn't work if attribute immediate is
set to true
-----------------------------------------------------------------------------
Key: RF-11735
URL:
https://issues.jboss.org/browse/RF-11735
Project: RichFaces
Issue Type: Bug
Security Level: Public(Everyone can see)
Affects Versions: 4.1.0.CR1
Environment: RF-4.1.0.CR1, mojarra 2.1.3
Reporter: Rene O
Assignee: Brian Leathem
Attachments: jsf2test.war
A testcase to reproduce this issue is attached.
Steps to reproduce this issue:
1.
http://localhost:8080/jsftest/tabswitch.jsf
--
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