[richfaces-issues] [JBoss JIRA] (RF-12550) Tab panel: dynamically created tabs don't work inside accordion and tab panel
Lukáš Fryč (JIRA)
jira-events at lists.jboss.org
Tue Oct 23 08:36:01 EDT 2012
[ https://issues.jboss.org/browse/RF-12550?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12728573#comment-12728573 ]
Lukáš Fryč commented on RF-12550:
---------------------------------
The action called by {{UICommandButton}} is called twice because there are two {{ActionEvent}}s issued on PROCESS_DECODES phase.
I analysed the stacks of those calls
https://gist.github.com/3938501
and a cause is on following lines:
first time called {{visitTree}}:
https://github.com/jboss/jboss-jsf-api_spec/blob/jboss-jsf-api_2.1_spec-2.0.7.Final/src/main/java/javax/faces/component/UIComponent.java#L1612
second time:
https://github.com/jboss/jboss-jsf-api_spec/blob/jboss-jsf-api_2.1_spec-2.0.7.Final/src/main/java/javax/faces/component/UIComponent.java#L1623
I think the tree walker alghoritm should return {{COMPLETE}} here.
> Tab panel: dynamically created tabs don't work inside accordion and tab panel
> -----------------------------------------------------------------------------
>
> Key: RF-12550
> URL: https://issues.jboss.org/browse/RF-12550
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-panels-layout-themes, regression
> Affects Versions: 4.3.0.M2
> Environment: RichFaces 4.3.0-SNAPSHOT
> Metamer 4.3.0-SNAPSHOT
> Mojarra 2.1.7
> JBoss AS 7.1.2.Final-redhat-1
> Java(TM) SE Runtime Environment 1.6.0_32-b05 @ Linux
> Chrome 22.0.1229.94 @ Linux x86_64
> Reporter: Pavol Pitonak
>
> # deploy Metamer and open one of these pages
> ## http://localhost:8080/metamer/faces/components/richTabPanel/addTab2.xhtml?templates=richTabPanel
> ## http://localhost:8080/metamer/faces/components/richTabPanel/addTab2.xhtml?templates=richAccordion
> # click *[a4j Create tab]* button
> result:
> * two tabs are created, one new tab is expected
> * works fine in 4.3.0.M1
> * works fine in other templates
--
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
More information about the richfaces-issues
mailing list