[jboss-user] [JBoss Seam] - logoff question

Holger Prause do-not-reply at jboss.com
Wed Jan 24 12:41:03 EST 2007


Hello,i have problems with my logoff action, i need to set the user object to null.

The code below dont works (i also made sure theres no seam component with name "user")



  | @Stateless
  | @Name("logoff")
  | public class LogoffAction implements Logoff {
  | 
  | 	@In
  | 	@Out(required=false)
  |         Member user;
  | 	
  | 	public String logoff() {		
  | 		Seam.invalidateSession();
  | 		user = null;
  | 		
  | 		// TODO Auto-generated method stub
  | 		return "logoffsuccess";
  | 	}
  | 
  | }
  | 
  | 


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

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



More information about the jboss-user mailing list