aspose file tools*
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 Spring in Action this week in the Spring 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?
 
 
subject: how to redirect to current page after login in SEAM?