users@javaserverfaces.java.net

Scenario: Logout and display text content in a h:message component - do I use a query string?

From: Todd Patrick <Todd.Patrick_at_dtn.com>
Date: Tue, 7 Nov 2006 14:08:28 -0600

The scenario is the following: I have a JSF login page, in which when a user logs out - I want to display the JSF login page with a text message in a h:message component. From the Faces Context how would I display the h:message component on a log out only? I don't think I should use a query string? I don't believe I can pass a parameter in a navigation rule? <navigation-rule> <description>Navigation for the toolbar.</description> <from-view-id>*</from-view-id> <navigation-case> <from-action>#{authenticationBean.logout}</from-action> <from-outcome>success</from-outcome> <to-view-id>/login/login.jsp</to-view-id> </navigation-case> </navigation-rule> Thoughts on the *JSF* way to solve this would be appreciated. Thanks, --Todd ----------------------------------------- NOTICE: This email message is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message.