dev@javaserverfaces.java.net

Re: JSFVersionTracker

From: Ryan Lubke <Ryan.Lubke_at_Sun.COM>
Date: Mon, 17 Sep 2007 09:44:00 -0700

Gurkan Erdogdu wrote:
> Hi;
>
> I am looking 1.2 code in RestoreView, execute method. In this method, there is a control using JSFVersionTracker whether or not using <1.2 artifacts.
>
> If <1.2 then, create new view each time altough request is post back. What is the reason to use this? And there is no implication about it in the specification.
>
This was added because in 1.2 if a view could not be restored (session
expiration is a good example of why) a ViewExpiredException is thrown.
In 1.1, there was no exception for this case - the view was recreated.
So basically, this is present to preserve backwards compatibility with
1.1 applications.

> Thanks;
>
> Gurkan
>
>
>
>
> ____________________________________________________________________________________
> Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, news, photos & more.
> http://mobile.yahoo.com/go?refer=1GNXIC
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_javaserverfaces.dev.java.net
> For additional commands, e-mail: dev-help_at_javaserverfaces.dev.java.net
>
>