[jboss-user] [JBoss Seam] - Redirect on Session Timeout using Destroy method

Techieexchange do-not-reply at jboss.com
Wed Jan 30 09:19:50 EST 2008


Hi,
 I would like to know whether it is possible to use redirect when session timeout using @Destroy method.

  | @Destroy
  | 	public void redirect() {
  | 		 Redirect.instance().setViewId("/home.seam");
  | 	   	 Redirect.instance().execute();
  | 	}
  | 

anonymous wrote : Result: Nothing happens on client but on server (with debug) I could see this method executes properly.

My idea is I don't want to use any extra boiler plate code (filter, phaselistener etc.,) to redirect, instead use Seam's power.

Please help me.

Thanks

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

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



More information about the jboss-user mailing list