I understand that Primefaces Layout and Dashboard have state which can be saved.
Could someone help me with snippet code (or some tutorial / how to ) site on how to save Primefaces layout (fullpage) into some persistent database or file.
In this case, I want to enable user to save their own preferences regarding size of the layoutUnit, which layoutUnit is minimized and closed and such whenever they login.
Thank you
ps: I am using Primefaces 2.2 running on Tomcat – essentially the same configuration as downloadable showcase.
You just respond to the events and save the state. User manual gives the details.
Now the state can be saved in database and to reproduce the saved state, attributes of the layout units can be set as per the state saved earlier.