Hi Thomas I think to make it work correctly it is necessary to do some stuff inside MyFaces internals. Look these classes:
http://svn.apache.org/repos/asf/myfaces/core/trunk/impl/src/main/java/org/apache/myfaces/application/StateCache.java http://svn.apache.org/repos/asf/myfaces/core/trunk/impl/src/main/java/org/apache/myfaces/renderkit/ServerSideStateCacheImpl.java http://svn.apache.org/repos/asf/myfaces/core/trunk/impl/src/main/java/org/apache/myfaces/renderkit/ClientSideStateCacheImpl.java The intention is make something more pluggable here, so the idea is allow override the state saving caching strategy, hiding some other details. It is a work in progress, but if you have some ideas help is welcome, we can try it and include it directly into myfaces core. regards, Leonardo Uribe 2012/5/9 Thomas Andraschko <[email protected]>: > I tried it but somehow it does not work and i get an new or empty ViewState > field on postbacks. > Would be cool if anyone could guide me before i must read and understand > the complete state saving code :-) > > 2012/5/9 Thomas Andraschko <[email protected]> > >> Hi, >> >> is it possible to switch client/server state saving per page like in >> Trinidad? >> I would create an ViewMetaData annotation with CODI and own StateManager >> which overwrites isSavingStateInClient and reads this MetaData via >> ViewConfigDescriptor and return true/false. >> Is this possible or are the more changes/code required? >> >> Thanks! >> Thomas >>

