On 2/27/06, Andrew Robinson <[EMAIL PROTECTED]> wrote:
That may mean one of a few problems I think. The whole bean is not
found, or just the property. If the configuration file for faces is
"faces-config.xml" and located in the WEB-INF directory, myfaces will
"auto-magically" find it. If it has a different name however, it must
be specifically specified in the web.xml.

Looking at the number guess demo, the name is the "correct" name, and
it is located in the WEB-INF directory, so that should not be the
issue. Also, the manaed-bean for NumberBean is registered in there.

So check:
1. that the class is indeed on the class path (in a jar in WEB-INF/lib
or classes in WEB-INF/classes)
2. verify the presence of the property. Remembering that "getProperty"
results in "property" in the jsp/xhtml

One more thing to check ... as you are messing around with dependent libraries, it is important to do a "clean" build before deploying, AND to ensure that any JSP pages that were previously compiled for this app are recompiled when you make your changes.  If WebLogic is anything like Tomcat, it will remember a previously compiled version of a JSP page (unless the source has been changed) unless you explicitly do something.  For Tomcat, that would be cleaning out the "work" and "conf/Catalina" directories associated with your application.

I'm posting this to the facelets user list as well to see if Jacob has
any ideas ( [EMAIL PROTECTED]).

-Andrew

Craig

Reply via email to