[jboss-user] [JBoss Seam] - Re: Seam Application Deployment
koriel
do-not-reply at jboss.com
Sat Jul 22 11:43:01 EDT 2006
"koriel" wrote : Ok I'm having some problems with seam...I have defined a simple class which is
| |
| |
| | @Stateless
| | @Name("myejb")
| | public class TestEjb implements Test {
| |
| | /**
| | *
| | */
| |
| | private String mystring="hi koriel";
| |
| | /* (non-Javadoc)
| | * @see uai.utilities.Test#getMystring()
| | */
| | public String getMystring() {
| | return mystring;
| | }
| |
| | /* (non-Javadoc)
| | * @see uai.utilities.Test#setMystring(java.lang.String)
| | */
| | public void setMystring(String mystring) {
| | this.mystring = mystring;
| | }
| |
| |
| |
| | }
| |
| |
|
| and in my home.xhtml page I have this
|
|
| |
| | <h:outputText value="#{myejb.mystring}" />
| |
| |
|
| but I can't see the string "hi koriel" when I access home.xthml. What am I doing wrong?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960121#3960121
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960121
More information about the jboss-user
mailing list