[jboss-user] [JBoss Seam] - Re: Using Jasper Reports with Seam/JBoss

squibobblepants do-not-reply at jboss.com
Wed Jan 24 10:14:08 EST 2007


hmm. I think the transaction exception is a bit of a red herring - it seems to appear at the bottom of all stack traces now.

I'm getting the same error now even when trying to access a simple string in my reporting bean:

reporting.java:

  | @Stateful
  | @Name("reporting")
  | @Scope(ScopeType.SESSION)
  | public class ReportManager implements ReportManagerI {
  | 
  | ...
  | 
  | @Out
  | public String hello="hello";
  | 
  | ...
  | }
  | 

reporting.xhtml:

  | ...
  | 
  | <h:outputText value="#{reporting.hello}" />
  | 
  | ...
  | 

Is also giving me:

  | javax.faces.el.PropertyNotFoundException: /reporting.xhtml @37,53 value="#{reporting.hello}": Bean: org.jboss.seam.intercept.Proxy$$EnhancerByCGLIB$$3196fd0, property: hello
  | 	at com.sun.facelets.el.LegacyValueBinding.getValue(LegacyValueBinding.java:58)
  | 	at javax.faces.component.UIOutput.getValue(UIOutput.java:77)
  | 	at org.apache.myfaces.shared_impl.renderkit.RendererUtils.getStringValue(RendererUtils.java:217)
  | 	at org.apache.myfaces.shared_impl.renderkit.html.HtmlTextRendererBase.renderOutput(HtmlTextRendererBase.java:69)
  | 	at org.apache.myfaces.shared_impl.renderkit.html.HtmlTextRendererBase.encodeEnd(HtmlTextRendererBase.java:57)
  | 

I think maybe there's something wrong with my bean?

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

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



More information about the jboss-user mailing list