Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to redirect to current page after login in SEAM?

 
Anjali Aggarwal
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic