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

[jsr372-experts] [1056-flexibleStateSaving] thoughts about state saving

From: Arjan Tijms <arjan.tijms_at_zeef.com>
Date: Wed, 24 Sep 2014 17:48:08 +0200

Hi there,

A while ago I created umbrella issue
https://java.net/jira/browse/JAVASERVERFACES_SPEC_PUBLIC-1056 that
asked for more flexible state saving in JSF.

The issue being an umbrella issue actually asks for a couple of more
specific things, but all about where state is saved, not how state is
saved.

Perhaps the most important part of the issue is the ability to set per
view whether state is saved on the server or the client. Currently
this can only be set globally for the entire application.

I looked in the RI code a while ago and did some experiments with a
custom build and the per view setting seemed doable. An attribute on
f:view would be the most straightforward place to set this I guess.

I wonder what your thoughts about this are.

Kind regards,
Arjan Tijms