"b.reeve" wrote : 1. Is there a way we can map identity.loggedIn to a method to
keep checking against some criteria. For eg: If I want to redirect the user to
login page when the session expires, can I configure identity.loggedIn =
loginBean.sessionExpired.
No.
anonymous wrote : 2. Or, I found in the forum that an event can be raised for
sessionExpired. But then how do I redirect the user to myLogin page on this
event.
|
| | <event type="org.jboss.seam.sessionExpired">
| | <action execute="#{redirect.toSomeViewID}"/>
| | </event>
| |
Not yet implemented. This is the best way to do what you are AFAICS.
anonymous wrote : 3. Also if I do
|
| | <page view-id="*" action="#{loginBean.sessionExpired}">
| | <navigation>
| | <rule if="login">
| | <redirect view-id="/index.xhtml" />
| | </rule>
| | </navigation>
| | </page>
| |
| what happens when sessionExpired method returns null
Null in JSF means stay on the same page.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4113358#4113358
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4113358
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user