[jboss-user] [JBoss Seam] - Re: @In attribute requires non-null value: register.user
springfans
do-not-reply at jboss.com
Tue Jan 29 03:58:33 EST 2008
"nickarls" wrote : Well, if its not auto-create it will be null the first time referenced. Add a create=true to the @In annotation.
public class RegisterAction {
| @In(create=true )
| private User user;
2008-1-29 16:54:00 com.sun.facelets.FaceletViewHandler handleRenderException
| 严é: Error Rendering View[/register.xhtml]
| javax.faces.FacesException: javax.el.ELException: //D:/app/eclipse/framework/PROJECT_SRC/TestWeb/WebRoot/register.xhtml @82,76 value="#{register.verify}": org.jboss.seam.RequiredException: @In attribute requires non-null value: register.user
| at javax.faces.component.UIOutput.getValue(UIOutput.java:187)
| at com.sun.faces.renderkit.html_basic.HtmlBasicInputRenderer.getValue(HtmlBasicInputRenderer.java:201)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4124300#4124300
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4124300
More information about the jboss-user
mailing list