myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mario Ivankovits <ma...@ops.co.at>
Subject Re: Another question about RedirectTracker
Date Thu, 01 Feb 2007 14:59:54 GMT
Hi Aleksandr!

> > Is it posible to restore states for all components? Is it right way? 
>   
AFAIK, not using GET only.

GET request URLs are limited in size, depending on the browser, proxy
and web-server you have between you and your clients browser.
Its something between 1-2kb.

A view state could easily have much more than 2kb. You could use server
side state saving, but then your links are no longer bookmarkable.
But even if you send the view state to the clients url you could not
await that all your urls are "reproducable". Means: When you change
something int the component tree e.g. adding/removing/rearranging fields
the client state will be invalid = bookmark is invalid.
Though, I do not know if you've choosen the PRG pattern to have
bookmarkable pages, so maybe this is not an issue for you.

Anyway, maybe someone else with knowledge in the PRG pattern might be of
more help.

Ciao,
Mario



Mime
View raw message