2 Replies Latest reply on Aug 17, 2006 1:53 PM by dudududu

    @out with on param

    dudududu Novice

      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