[jboss-user] [JBoss Seam] - Seam Application Deployment

koriel do-not-reply at jboss.com
Sat Jul 22 11:11:53 EDT 2006


Ok I'm having some problems with seam...I have defined a simple class which is 
  | 
  | 
  | @Stateless
  | @Name("myejb")
  | public class TestEjb implements Serializable {
  | 	
  | 	/**
  | 	 * 
  | 	 */
  | 
  | 	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=3960117#3960117

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



More information about the jboss-user mailing list