[Structure] How to link several managed beans
[Logo]
ICEsoft.org Forums: ICEfaces, ICEmobile, ICEpdf
[Search] Search   [Recent Topics] Recent Topics   [Groups] Home Page | www.icesoft.org  [Login] Login 
[Structure] How to link several managed beans  XML
Forum Index -> General Help
Author Message
Baleyba

Joined: 16/11/2006 00:00:00
Messages: 110
Offline


Hi,

I need advice about my application structure.
I have several managedbean for several content panels.

My application has got a main page that contains one contentpanel.

So, with the menu I swap the contentPanels. But I need to be able to call them from one other. For the initialisation step for example.

To do this, I thought to do a "GeneralManager" with the singleton pattern.
And this "GeneralManager" is linked with all the managed bean of the application and can call their init method.

But I have one problem when managedBean are implementing renderable...
because in the jsp file I must use this syntax now:

<ice:panelStack id="AddEditPanelStack" styleClass="componentContentPanelStack" selectedPanel="#{GeneralManager.ManageContentPanelBean.contentPanel}">
 



Is there an other solution to do this?

thanks for your advice
regards,
Bal.

JBoss 4.2.3 | Java 1.6.0_16 | IceFaces 1.8.2
Baleyba

Joined: 16/11/2006 00:00:00
Messages: 110
Offline


Ok sorry...
I was totally wrong.

I understood my solution thru the facesconfig.xml file

Bal.

JBoss 4.2.3 | Java 1.6.0_16 | IceFaces 1.8.2
 
Forum Index -> General Help
Go to:   
Powered by JForum 2.1.7ice © JForum Team