which scope layoutBean has? how it's stores the data per user? How it get it when user logging?
layoutBean has session scope.
The data is store in the data base, each person has a style, where i keep the preferences set in the layoutbean class.
When a user logging i just get the style (store in my db for that user) and set the "preferences" to the layoutbean.
so then probably the problem somewhere at sorting/restoring from DB.. as in general approach looks fine.
it worked setting the session scope in my spring bean, i just declared it in the managed-bean.