List Info

Thread: How to support back-button with either Javascript turn-off or on in the browser




How to support back-button with either Javascript turn-off or on in the browser
country flaguser name
Philippines
2007-09-21 21:42:55

I'm having problem on providing back-button (browser backbutton) support for browsers having javascript both turn-off or on. Can anybody guide me on how can I achieve this using myfaces 1.1.5 and tomahawk-1.1.5?

 

I've look into the source, and I've noticed that for server-side state saving, you're caching the SerializedView of the current request in the session, and you're retrieving it using the current request ViewId and jsf_sequence. All of this needed keys to retrieve the restore the view from the session were wrapped into the javax.faces.ViewState stored somewhere else. To properly restore the View from the session, I've just think I may need that javax.faces.ViewState in my request both GET and POST. Can you someone pls. clarify if my idea is correct? and how could I implement this using myfaces? Or maybe myfaces has already provide this behavior i've been thinking of, how could I configure this with myfaces?

 

I've resorted to server-side thing solution as the ViewState of client-side state saving is too large to append it on GET request params.

 

Thanks,

Bryan

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )