---- alberto <[EMAIL PROTECTED]> schrieb:
> I am trying ORchestra on Myfaces 1.2, Tomcat 6, Facelets, Spring  2.0.6.
> 
> I have a 
> <inputText value="#{userListBean.user.username}">
> 
> in my welcome.xhtml
> 
> When I submit I get:
> 
> value="#{userListBean.user.username}": Target Unreachable, identifier 
> 'userListBean' resolved to nullAm I missing some config in faces-config? The 
> only entry there is the view handler for facelets.

I would guess that you've missed some Spring config in the web.xml file.

Orchestra needs to hook into the bean definition and lookup process to work, 
and JSF doesn't provide enough hooks. Therefore Orchestra requires some 
external IOC container to be used - eg Spring.

This error message looks like you've got Spring correctly hooked up so that if 
"userListBean" isn't found in the standard JSF beans.xml file then Spring's 
config is checked. However in this case, "userListBean" cannot be found by 
Spring either.

Have you followed the setup instructions here?
http://myfaces.apache.org/orchestra/myfaces-orchestra-core/installation.html

Regards,

Simon

Reply via email to