This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan 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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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?
 
wood burning stoves
 
subject: how to redirect to current page after login in SEAM?
 
Similar Threads
Struts 2.1 Need two different success results
jsf and jstl
Seam and the JSF Lifecycle
please help me spring mvc
Interceptor messes up action class in Struts2