On Fri, 8 Dec 2006 13:26:07 +0100, Pfau, Oliver wrote
> If I am right that there's no way to decentralize the faces-config.xml 
> without changing the myFaces source code ?

you can spiltt your faces-config.xml to something like

web.xml

<context-param>
        <param-name>javax.faces.CONFIG_FILES</param-name>
        <param-value>
          /WEB-INF/whatever/faces-config.xml,
        /WEB-INF/whatever/faces-managedbeans.xml,
        /WEB-INF/whatever/faces-navigation.xml
        </param-value>
    </context-param>

> 
> 
-----------------------------------------------------------------------
Von: Pfau, Oliver 
> Gesendet: Freitag, 8. Dezember 2006 08:27
> An: MyFaces Discussion
> Betreff: JSF MyFaces Portlet backing bean instatiations
> 
> 
> Hi,
>  
> I have a web app with 2 porlets and 2 backing beans and one faces-config.xml. 
> When the 2 portlets are displayed on the same portal page there is a 
> FacesContext for each portlet. So in each PortletContex is a useless backing 
> bean from the other portlet. Is it possible to define a faces-config.xml for 
> each portlet in the portlet app (war-file) ?
>  
> Regards,
> Oliver

Viele Grüße, best regards,

Benjamin Bratkus

-- 
Orientation in Objects GmbH 
Weinheimerstr. 68 
D-68309 Mannheim 
http://www.oio.de 
Tel +49(0)621-71839-0 
Fax. +49(0)621-71839-50

 

Reply via email to