[jboss-user] [JBoss Seam] - Re: Forced Outjection

fhh do-not-reply at jboss.com
Tue Jan 9 18:20:45 EST 2007


You have to define some way to inform the frontend that _something_ has changed in the backend. 

I assume that the modification of the data relevant to the user object exists only in the database so therefore you can't simply outject the modified user object after the "work is done" phase.

Then the only choice you have is to refresh the user object from the db after step 4 and outject it then.

Regards

fhh


BTW: This is a mistake, is it?

  | public class LoginAction {
  |   private __UserEntity__ user;
  | 
  |   @Out(required=false, scope=ScopeType.SESSION)
  |   public __String__ getUser() {
  |     return user;
  |   }
  | }
  | 

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

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



More information about the jboss-user mailing list