hi, i'm new to jsf, and currently working on a project where we have multiple web projects..i.e multiple war and the scenarioa is how do we communicate between managed bean present in different faces-config files...i.e communication between multiple war's.
any suggestion will be appreciated. thnx ved
g madhava
Ranch Hand
Joined: Sep 14, 2001
Posts: 85
posted
0
What App server are you using ? Which version of JSF are you using ?
Adeel Ansari
Ranch Hand
Joined: Aug 15, 2004
Posts: 2874
posted
0
I guess its not just about the JSF. It highly depends upon the application server you are using. I would recommend server docs.
ved gunjan
Ranch Hand
Joined: May 17, 2003
Posts: 86
posted
0
thnx for the reply. im using JBoss4.04. wht my concern was if i could give an analogy to my problem is...if struts we have this struts-config file and we can have more that one such file....so to call action present in other config file we have SwitchAction. Similarly if i have two faces-config file how we will reference the managed bean present present in second faces-config file from the first faces-config file.
hope im able to explain myself. thnx.
g madhava
Ranch Hand
Joined: Sep 14, 2001
Posts: 85
posted
0
Just reference them and it should work. In your first faces-config.xml file.