[jboss-user] [JBoss Seam] - Re: regarding Redirect.captureCurrentView()
atao
do-not-reply at jboss.com
Mon Sep 10 09:41:15 EDT 2007
In application generated by seam-gen, there is in components.xml:
| <event type="org.jboss.seam.notLoggedIn">
| <action expression="#{redirect.captureCurrentView}"/>
| </event>
| <event type="org.jboss.seam.postAuthenticate">
| <action expression="#{redirect.returnToCapturedView}"/>
| </event>
|
and in pages.xml:
| <exception class="org.jboss.seam.security.NotLoggedInException">
| <redirect view-id="/login.xhtml">
| <message>#{messages['org.jboss.seam.security.NotLoggedInException']}</message>
| </redirect>
| </exception>
|
|
The event org.jboss.seam.notLoggedIn is raised by Pages.notLoggedIn which is called by Pages.redirectToLoginView just before going to the Login view.
And the event org.jboss.seam.postAuthenticate is raised by Identity.postAuthenticate
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082615#4082615
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082615
More information about the jboss-user
mailing list