jsr344-experts@javaserverfaces-spec-public.java.net

[jsr344-experts] Re: Partial state saving + tree visiting

From: Edward Burns <edward.burns_at_oracle.com>
Date: Thu, 22 Dec 2011 09:08:18 -0800

>>>>> On Thu, 22 Dec 2011 07:42:37 -0800, Edward Burns <edward.burns_at_oracle.com> said:

>>>>> On Tue, 02 Aug 2011 13:07:58 -0400, Andy Schwartz <andy.schwartz_at_oracle.com> said:
AS> On 8/1/11 11:15 PM, Leonardo Uribe wrote:
>>> Yes. I can do the necessary changes on MyFaces side.

AS> Great, thanks Leo.

AS> I have logged the following spec issue to track this:

AS> http://java.net/jira/browse/JAVASERVERFACES_SPEC_PUBLIC-1028

EB> I have just resolved this with the following changes.

EB> M jsf-api/src/main/java/javax/faces/application/Application.java

EB> mark {get,set}StateManager() as deprecated, pointing to the new
EB> equivalents.

EB> M jsf-api/src/main/java/javax/faces/application/StateManager.java
EB> M jsf-api/src/main/java/javax/faces/application/StateManagerWrapper.java

EB> Deprecate these classes, pointing to the new equivalents.

After considering Ted's suggestions, elsewhere on this thread, I have
un-deprecated these classes, in favor of just deprecating the
{save,restore}View() methods. This is because the StateManager methods
that relate to the ViewState token are still useful and not deprecated.

Again, the nightly should have these changes.

Ed

-- 
| edward.burns_at_oracle.com | office: +1 407 458 0017
| homepage:               | http://ridingthecrest.com/