PDA

View Full Version : How to save portlet state in cookie?



tusharjk
6 Mar 2009, 2:26 AM
I have created a simple portal with three columns and would like to save the position of portlet after dragged to a new position.

For collapsed property it is easily achievable using :
getState:function(){return{collapsed:this.collapsed};},
applyState:function(state){this.collapsed = state.collapsed;}

Can anyone know how to save the position of portlet using cookie manager.
After refresh the panels go to their default position.