Thomas,

The way I've done this is a strait JavaScript approach where the page starts
a timer when loaded, and when the time executes it preforms the logout.

That way is not very JSF centric and can be difficult to maintain because
you are kind of hijacking the life cycle.

What I believe is a better way would be to use either Trinidad, or
ajax4Jsf.  They both have a "poller" component that will callback into the
JSF application lifecycle.  From there you can do whatever is needed.

I had trouble integrating Trinidad with tomahawk so I went the ajax4jsf
route.

-Jay

On 2/7/07, Thomas Chang <[EMAIL PROTECTED]> wrote:

Hi all,

what I want to do is:
I click the commandLink in page1.xHtml and it change to page2.xHtml. This
page2.xHtml will just stay for several seconds for example and will do
logout.

How can I do that?

Thanks

Thomas

------------------------------
Yahoo! Messenger - kostenlos* mit Familie und Freunden von PC zu PC
telefonieren
<http://de.rd.yahoo.com/evt=39058/*http://de.messenger.yahoo.com>.


Reply via email to