fernando,
really thanks for your nice solution, it worked fine, but another problem

when I select a user the information is displayed correctly, now consider I am 
changing some info say, address or contact number, how to manage this changed 
data at server and synchronize the changed User with the database? because the 
outjected with @Factory only set an attribute with stateless scope and now how 
to send back the new data to the server?

first, I tried to add @In for the user as follows:


  |      @In("tempUser")
  |      private User user;
  | 
  |     // consider @Factory's value is "tempUser"
  | 
  |     @Factory(value="tempUser",scope=STATELESS)
  |     public User initUser(){
  |      //.....
  |    }
  | 

but it didn't work

any solution?

thanks

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4080393
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to