HEy,
can you open an issue on jira ([1]).
-Matthias
[1] http://issues.apache.org/jira/browse/MYFACES
On 6/15/06, eface <[EMAIL PROTECTED]> wrote:
Both org.apache.myfaces.webapp.StartupServletContextListener.initMyFaces()
and org.apache.myfaces.portlet.MyFacesGenericPortlet.initMyFaces() check a
context attribute to see if MyFaces is initialized before invoking
org.apache.myfaces.config.FacesConfigurator.configure() but both actually
check and set a different attribute name.
StartupServletContextListener uses:
static final String FACES_INIT_DONE
= StartupServletContextListener.class.getName() +
".FACES_INIT_DONE";
MyFacesGenericPortlet uses:
protected static final String FACES_INIT_DONE =
MyFacesGenericPortlet.class.getName() + ".FACES_INIT_DONE";
I find that if I override MyFacesGenericPortlet.initMyFaces() to do nothing,
everythings works and I avoid the duplicate managed bean warnings.
Is this is a configuration error on my part or an implementation oversight?
Thanks!
-Eric
--
View this message in context:
http://www.nabble.com/MyFaces-1.1.4-is-initialized-twice-in-portlet.-t1794773.html#a4892250
Sent from the MyFaces - Users forum at Nabble.com.
--
Matthias Wessendorf
Aechterhoek 18
48282 Emsdetten
blog: http://jroller.com/page/mwessendorf
mail: mwessendorf-at-gmail-dot-com