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#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...