This content has been marked as final.
Show 4 replies
-
1. Re: Dynamic Template (a template per user)
ilya_shaikovsky Jul 21, 2010 7:09 AM (in response to reseba)which scope layoutBean has? how it's stores the data per user? How it get it when user logging?
-
2. Re: Dynamic Template (a template per user)
reseba Aug 2, 2010 10:08 AM (in response to ilya_shaikovsky)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.
-
3. Re: Dynamic Template (a template per user)
ilya_shaikovsky Aug 3, 2010 7:59 AM (in response to reseba)so then probably the problem somewhere at sorting/restoring from DB.. as in general approach looks fine.
-
4. Re: Dynamic Template (a template per user)
reseba Aug 3, 2010 2:44 PM (in response to ilya_shaikovsky)it worked setting the session scope in my spring bean, i just declared it in the managed-bean.
Sorry