[jboss-user] [JBoss Seam] - Re: Using non-EJB annotated POJO as backing bean

bdillon do-not-reply at jboss.com
Thu Jul 5 11:35:56 EDT 2007


HI,

The getter method is;


    public String getName() {
        System.out.println(" FirstPageBB.getName() > "+name);
        return name;
    }

I can see in Tomcat the following;

 Initialising FirstPageBB !
 FirstPageBB.getName() > initialValue
16:06:16,142 ERROR [[jsp]] Servlet.service() for servlet jsp threw exception
javax.faces.el.EvaluationException: Cannot get value for expression '#{FirstPage
BB.name}'
        at org.apache.myfaces.el.ValueBindingImpl.getValue(ValueBindingImpl.java
:402)
        at javax.faces.component.UIOutput.getValue(UIOutput.java:77)
        at org.apache.myfaces.shared_impl.renderkit.RendererUtils.getStringValue
(RendererUtils.java:217)


Thanks,

Brian


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060883#4060883

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060883



More information about the jboss-user mailing list