101questionjsf schrieb:
> I have managed to make it work if STATE_SAVING_METHOD is server, but it is
> storing to session.
> 
> I'm using wrappedData to prevent the serializable error on my listdatamodel:
> <t:saveState value="#{processBean.processResultsModel.wrappedData}" />
> 
First of all serializable is mandatory, and you should implement the
serializing properly there are reasons for that.
The saveState serializes and it relies on serializing and restoring.
The session often is serialized.
And with the newest myfaces builds you also have a session history
which can store the last states of your beans and can restore it
with a back button (something introduced in 1.1.2)

Savestate is not a session or conversation system, all it does is to
store the referenced data and then restores it once you are over the
request boundary, you wont get the same objects but you will get the
same data, if done correctly.

> But when i click on the forward and backward buttons of t:dataScroller, it
> gives PropertyNotFoundException "Base is null" error.
> 
You probably lost the data during save and restory by mapping away the
proper serialisation.

;-)

Reply via email to