This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes Other Application Frameworks and the fly likes how to redirect to current page after login in SEAM? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark "how to redirect to current page after login in SEAM?" Watch "how to redirect to current page after login in SEAM?" New topic
Author

how to redirect to current page after login in SEAM?

Anjali Aggarwal
Greenhorn

Joined: Aug 06, 2011
Posts: 6
Hi,

How should i redirect to the current page after login authentication in SEAM?

I have already added the following code to the components.xml :

<event type="org.jboss.seam.security.notLoggedIn">
<action execute="#{redirect.captureCurrentView}"/>
</event>

<event type="org.jboss.seam.security.loginSuccessful">
<action execute="#{redirect.returnToCapturedView}"/>
</event>

but it doesn't seem to work. Any other way to solve this issue?
 
GeeCON Prague 2014
 
subject: how to redirect to current page after login in SEAM?