[richfaces-issues] [JBoss JIRA] (RF-12000) TabPanel - Backing bean initialization when a same bean manages multiple dynamic tabs

Jean ANDRE (JIRA) jira-events at lists.jboss.org
Fri Feb 24 09:22:36 EST 2012


     [ https://issues.jboss.org/browse/RF-12000?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean ANDRE updated RF-12000:
----------------------------

            Summary: TabPanel - Backing bean initialization when a same bean manages multiple dynamic tabs  (was: TabPanel - Tab Isolation -  Event order - Backing bean initialization)
        Description: 
See the conversation : https://community.jboss.org/message/718460#718460

Based on the work done, it is more clear about what we need. When a tabPanel, contains dynamic tabs handle by the same backing-bean (because of the same include xhtml), we need a way, a reliable manner to initialize the backing bean when the user switch from a tab to another tab. It might be a specific tag, as  rich:bean init="#{.....initialize(params)}". This tab should be executed first, before any other calls of the backing bean whatever its place inside the xhtml page. If several such tags exist wherever (template, include), they must be executed in their natural order, from the deeper to the top of the page hierarchy.

Thank you

  was:
See the conversation : https://community.jboss.org/message/718460#718460

Actually, all events (on...), action and actionLister are fired/triggered after the rendering of the tab. Is it possible to execute those events, action and so on before the page rendering to prepare the backing bean of the "next" page content to be well initialized.

The problem come from tab switching because the event is received too late. We want to set the activeTab properties based on user selection as soon as the user click. And then the backing can be initialized correctly.

Thank you

    Forum Reference: https://community.jboss.org/message/718460#718460  (was: https://community.jboss.org/message/718460#718460)

    
> TabPanel - Backing bean initialization when a same bean manages multiple dynamic tabs
> -------------------------------------------------------------------------------------
>
>                 Key: RF-12000
>                 URL: https://issues.jboss.org/browse/RF-12000
>             Project: RichFaces
>          Issue Type: Feature Request
>      Security Level: Public(Everyone can see) 
>            Reporter: Jean ANDRE
>
> See the conversation : https://community.jboss.org/message/718460#718460
> Based on the work done, it is more clear about what we need. When a tabPanel, contains dynamic tabs handle by the same backing-bean (because of the same include xhtml), we need a way, a reliable manner to initialize the backing bean when the user switch from a tab to another tab. It might be a specific tag, as  rich:bean init="#{.....initialize(params)}". This tab should be executed first, before any other calls of the backing bean whatever its place inside the xhtml page. If several such tags exist wherever (template, include), they must be executed in their natural order, from the deeper to the top of the page hierarchy.
> Thank you

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