Dialog Framework size from cookies
Posted: 10 Oct 2016, 16:16
Hello,
We are using Sentinel theme and the Primefaces dialog framework.
Now, I am looking for cookie based modal window size/position so that the modal window will 'remember' last set size and position when opened again after logout-login or within current session; until either it is resized or cookie is expired.
I want to achieve this programmatically - preferably by setting some cookie name from managed bean and that cookie content is 'magically' used by the dialog framework when rendered.
Is this functionality available or possible? Any suggestion?
Thanks,
-Mihir.
We are using Sentinel theme and the Primefaces dialog framework.
Now, I am looking for cookie based modal window size/position so that the modal window will 'remember' last set size and position when opened again after logout-login or within current session; until either it is resized or cookie is expired.
I want to achieve this programmatically - preferably by setting some cookie name from managed bean and that cookie content is 'magically' used by the dialog framework when rendered.
Is this functionality available or possible? Any suggestion?
Thanks,
-Mihir.