After finally setting up remote debugging from Netbeans into Jetty, I can see
that the properties object is not instantiated when trying to save it, it is
null.

Who can tell me what the problem is?

In my form I have:

<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>

is it okay to map to the user object? The user object is not part of my
preferencesAction class.


-- 
View this message in context: 
http://www.nabble.com/exception-thrown-when-trying-to-get-current-user-tp25458093s2369p25462584.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

Reply via email to