[richfaces-issues] [JBoss JIRA] (RF-12945) Dynamic tab panels don't work in ajax mode

Lukáš Fryč (JIRA) jira-events at lists.jboss.org
Fri Apr 26 06:15:54 EDT 2013


    [ https://issues.jboss.org/browse/RF-12945?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12770338#comment-12770338 ] 

Lukáš Fryč edited comment on RF-12945 at 4/26/13 6:14 AM:
----------------------------------------------------------

This issue can be also reproduced in framework test [1] when {{TabPanelBean}}'s scope is changed from session to view ({{@ManagedBean @ViewScoped}}

[1] https://github.com/richfaces/components/blob/master/output/ui/src/test/integration/org/richfaces/integration/tabPanel/ForEachTabTest.java
                
      was (Author: ppitonak):
    This issue can be also reproduced in framework test [1] when bean's scope is changed from session to view.

[1] https://github.com/richfaces/components/blob/master/output/ui/src/test/integration/org/richfaces/integration/tabPanel/ForEachTabTest.java
                  
> Dynamic tab panels don't work in ajax mode
> ------------------------------------------
>
>                 Key: RF-12945
>                 URL: https://issues.jboss.org/browse/RF-12945
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: component-panels-layout-themes, regression
>    Affects Versions: 4.3.2
>         Environment: RichFaces 4.3.2.CR1
> Metamer 4.3.2-SNAPSHOT
> JBoss AS 7.1.3.Final-redhat-4
> Java(TM) SE Runtime Environment 1.7.0_04-b20 @ Linux
> Chrome 26.0.1410.63 @ Linux x86_64, Firefox 20
>            Reporter: Pavol Pitonak
>            Priority: Critical
>
> # deploy Metamer and open http://localhost:8080/metamer/faces/components/richTabPanel/addTab2.xhtml
> # click the button with label "[h] Create tab"
> # switch to second tab (content of tab will change)
> # switch to tab 6
> result:
> * ajax request is performed but tab panel's content doesn't change (it's still tab2)
> * worked fine in RichFaces 4.3.1.Final
> * dynamic panel can't be removed, there is an error message in browser console:
> {quote}
> Uncaught TypeError: Cannot call method 'onCompleteHandler' of undefined
> {quote}
> This issue might be related to RF-11081 or RF-12513.

--
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