You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Moritz Bechler (JIRA)" <de...@myfaces.apache.org> on 2014/02/14 16:10:20 UTC
[jira] [Created] (MYFACES-3855) Make the Facelets State Management
accessible
Moritz Bechler created MYFACES-3855:
---------------------------------------
Summary: Make the Facelets State Management accessible
Key: MYFACES-3855
URL: https://issues.apache.org/jira/browse/MYFACES-3855
Project: MyFaces Core
Issue Type: Wish
Affects Versions: 2.2.0
Reporter: Moritz Bechler
Attachments: MYFACES-3855.patch
Hi,
I've been recently working on an extension (let's call it view stacking) which needs to perform (full) state saving and restoration outside the regular lifecycle. The current DefaultFaceletsStateManagementStrategy API doesn't allow this kind of thing (only restores from response state manager and explictly triggering a full save is tricky). This currently requires us to maintain quite some duplicated code.
I prepared a patch which refactors DefaultFaceletsStateManagementStrategy and extracts the full state saving logic into a utility class and exposed methods to dump/restore state.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)