|
Subject: DelegatingVariableResolver warning with MyFaces 1.0.5 Newsgroups: gmane.comp.java.springframework.user Date: 2004-08-06 00:14:48 GMT (4 years, 4 weeks, 5 days, 18 hours and 32 minutes ago) I took Juergen's suggestion (http://tinyurl.com/68rgf) and tried to port my JSF/Sun+jsf-spring app to use MyFaces+Spring. I'm using a CVS build from about an hour ago and MyFaces 1.0.5. In WEB-INF/faces-config.xml, I have: <application> <variable- resolver>org.springframework.web.jsf.DelegatingVariableResolver</ variable-resolver> </application> And my managed-bean is defined as follows: <managed-bean> <managed-bean-name>userList</managed-bean-name> <managed-bean-class>org.appfuse.web.UserList</managed-bean-class> <managed-bean-scope>request</managed-bean-scope> <managed-property> <property-name>userManager</property-name> <value>#{userManager}</value> </managed-property> </managed-bean> I have MyFaces/Spring configured in web.xml as follows: <listener> <listener-class>org.springframework.web.context.ContextLoaderListener</ listener-class> </listener> <listener> <listener- class>net.sourceforge.myfaces.webapp.StartupServletContextListener</ listener-class> </listener> <servlet> <servlet-name>jsf</servlet-name> <servlet-class>javax.faces.webapp.FacesServlet</servlet-class> <load-on-startup>1</load-on-startup> </servlet> <servlet-mapping> <servlet-name>jsf</servlet-name> <url-pattern>/faces/*</url-pattern> </servlet-mapping> When I hit a page that uses this bean, I get the following error in my console: ERROR - VariableResolverImpl.resolveVariable(335) | Variable 'userManager' could not be resolved. Everything seems to work fine, but this error is annoying. Any idea how to get rid of it? Thanks, Matt ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com |
|
|