MyFaces has recently been updated to support Portlets running in any JSR-168 compliant Portal. This work included updates to JspViewHandlerImpl.
If you can describe your requirements then I might be able to help you accomplish your goals without further changes to MyFaces. Stan Silvert JBoss, Inc. [EMAIL PROTECTED] callto://stansilvert > -----Original Message----- > From: Jon Andersen [mailto:[EMAIL PROTECTED] > Sent: Friday, February 11, 2005 7:26 PM > To: [email protected] > Subject: VariableResolverImpl not extendable (except in net.sourceforge > package) > > Hi, > > I am a developer of the Sakai project - http://sakaiproject.org > > (bug explanation follows) > > I am investigating making our portal application compatible with > MyFaces JSF. Right now it supports Sun RI JSF, but we'd like to > support both. In order to achieve this, we need to extend the default > MyFaces ViewHandler to accept new scopes and implicit objects. This > works, except that two of the necessary interfaces are not visible > outside the their package. The interfaces are: > > (in file > myfaces-1.0.7/src/myfaces/net/sourceforge/myfaces/el/ > VariableResolverImpl.java) > net.sourceforge.myfaces.el.ImplicitObject > net.sourceforge.myfaces.el.Scope > > It appears that these two interfaces are intended to be used when > extending the ViewHandler; however, since they have default access > (package access), they are not accessible outside the > net.sourceforge.myfaces.el package. > > Solution: > change the access to ImplicitObject and Scope to public > > Workaround: > Create the custom VariableResolver in the net.sourceforge.myfaces.el > package. > > P.S. Would you like me to file this as a bug report in Jira? > > -Jon Andersen > Software developer > 734-260-6083 (work) > 734-646-5577 (home) > Digital Media Commons - Duderstadt Center > University of Michigan
