users@javaserverfaces.java.net

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

From: Jason Lee <lee_at_iecokc.com>
Date: Tue, 7 Nov 2006 14:12:11 -0600

In the logout method in your backing bean, register a message for the
intended h:message component?

-----
Jason Lee, SCJP
Programmer/Analyst
http://www.iec-okc.com
 

> -----Original Message-----
> From: Todd Patrick [mailto:Todd.Patrick_at_dtn.com]
> Sent: Tuesday, November 07, 2006 2:08 PM
> To: users_at_javaserverfaces.dev.java.net
> Subject: Scenario: Logout and display text content in a
> h:message component - do I use a query string?
>
> 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.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_javaserverfaces.dev.java.net
> For additional commands, e-mail:
> users-help_at_javaserverfaces.dev.java.net
>
>