[jboss-user] [JBoss Seam] - [Beginner]SLSB in seam
jpbievenour
do-not-reply at jboss.com
Thu Feb 7 17:44:20 EST 2008
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
More information about the jboss-user
mailing list