[richfaces-issues] [JBoss JIRA] (RF-11054) Dynamically created tabs within tabPanel causes NPE in getActiveItem()
Jean ANDRE (Commented) (JIRA)
jira-events at lists.jboss.org
Fri Nov 11 09:15:46 EST 2011
[ https://issues.jboss.org/browse/RF-11054?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12642113#comment-12642113 ]
Jean ANDRE commented on RF-11054:
---------------------------------
There is probably a workaround by setting the activeItem attribute which is bind to a backing bean. Each time, the current tab is deleted, you set the attribute to the tab you want. However, some other problems seem appear as the tabPanel does not respond to the mouse click anymore....
> Dynamically created tabs within tabPanel causes NPE in getActiveItem()
> ----------------------------------------------------------------------
>
> Key: RF-11054
> URL: https://issues.jboss.org/browse/RF-11054
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: base functionality , component-panels-layout-themes
> Affects Versions: 4.0.0.Final
> Environment: RichFaces 4.1.0-SNAPSHOT r.22526
> Metamer r.22526
> Mojarra 2.0.4-b09
> Apache Tomcat 7.0.12
> Java(TM) SE Runtime Environment 1.6.0_19-b04 @ Linux
> Chrome 12.0.718.0 @ Linux i686
> Reporter: Ján Jamrich
> Fix For: 4.Future
>
> Attachments: exception-on-tab-switch
>
>
> When set switchType on TabPanel to "server" (notice that with "client" everything works correctly, with "ajax" tab switch not work as well as with "null"), all dynamically created tabs causes NPE on tab switch.
--
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
More information about the richfaces-issues
mailing list