I've been trying to figure out this very simple question for a while. If I have 
a stateless session bean and place a private property with getters/setters in 
it:

  | @Stateless
  | @Name("MySLSB")
  | ...
  | ...
  | ...
  | private int value;
  | 
  | public int getValue() {
  |  return value;
  | }
  | 
  | public void setValue(int v) {
  |  this.value = v;
  | }
  | 

and reference it in the xhtml file:

  | <h:outputText id="myval" value="#{MySLSB.value}"/>
  | 

Why do I get the "property not found" exception? Shouldn't a value on a SLSB be 
accessible, even though it's state is not saved?

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4127617
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to