We needed something like the signOut(url) suggested by Julien, so I've added a signOut(String destinationPage) method in JBossActionResponse. The parameter is a page reference (like "default.Test"), not a URL.
I've added a destination parameter in the JSP (menu.jsp) to get things started: | <portlet:actionURL windowState="normal"> | <portlet:param name="op" value="userLogout"/> | <portlet:param name="destinationPage" value="default.Test"/> | </portlet:actionURL>"> | Modifications have also been made to UserPortlet (to retrieve the parameter set by the JSP), and in the SignOutResult and InvokeWindowActionCommand classes. The old way still works -- signOut with no parameter will try to stay on the current page as Julien explained. If this seems reasonable, I can create a new entry (patch?) in the JIRA and attach the modified files. Regards, Scott Dawson Unisys View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3923036#3923036 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3923036 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
