I can add to that, that the mapping to the preference object parameters is not correct too.
I set some preferences in the DB to 1. When I debug, I can see the values are indeed set to 1 in the user.preferences object. Nevertheless, on preferencesForm all values are shown as 0 (uncheked)... This is the mapping: <s:form id="preferencesForm" action="savePreferences" method="post" validate="false"> <li> <s:checkbox key="user.preferences.haveCompany" cssClass="checkbox" theme="simple"/> <!-- For some reason, key prints out the raw value for the label (i.e. true) instead of the i18n key: https://issues.apache.org/struts/browse/WW-1958--> <s:label for="preferencesForm_preferences_haveCompany" value="%{getText('user.preferences.haveCompany')}" cssClass="choice desc" theme="simple"/> </li> The user object is available to preferencesAction. Who can help me out to find the problem? -- View this message in context: http://www.nabble.com/exception-thrown-when-trying-to-get-current-user-tp25458093s2369p25462988.html Sent from the AppFuse - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net For additional commands, e-mail: users-h...@appfuse.dev.java.net