[jboss-user] [JBoss Seam] - @out with on param

mrohad do-not-reply at jboss.com
Thu Aug 17 12:36:57 EDT 2006


I've User entity bean
User (id , name , pass)

I would like to set only the user name in a SFSB and to send it to the page
what I did is

  |     @In(required=false)
  |     @Out(required=false)
  |     User user;
  |     
  |     public String testSomething()
  |     {
  |     	User= new User();
  |     	user.setName("Joe");
  |     	return "test";
  |     }
  | 
in the XHTML i've 

  | <h:inputText value="#{user.name}" />

the problem is the input is still empty?
what am i doing wrong?

Thank you for all your help
this is the greatest forum ever

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

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



More information about the jboss-user mailing list