I have an issue where when a custom component is used in two different
pages and with Tiles.  It seems that on postback everything is decoded
properly but then when the navigation rule kicks in, the new view is
loaded and the state information is lost.

First question: In JSF is a navigation rule treated like a "fresh"
request.  In other words, does it skip restore view phase just like
the the first time you load a JSF page?  I suspect this is the case.

My workaround for this at the moment involves storing the state
information that I want to preserve in the session.  So once done
decoding I just stash what I need in the session map.  Then before
encoding I pull it out of the session.  Does this approach make sense?

sean

Reply via email to