This content has been marked as final.
Show 4 replies
-
1. Re: Persisting Prefs broken in 2.4 ?
mholzner Oct 18, 2006 10:48 AM (in response to free1000)a) are you authenticated at the time?
b) is this code in the processAction() or doView(), doEdit(), ...
You need to be authenticated, and changing prefs can only be done in processAction() -
2. Re: Persisting Prefs broken in 2.4 ?
free1000 Oct 18, 2006 12:13 PM (in response to free1000)Ah... interesting, I wasn't authenticated, I'll try that.
The call is in the processAction scope (helper method call)
Thanks for the quick response.
Paul -
3. Re: Persisting Prefs broken in 2.4 ?
free1000 Oct 18, 2006 1:21 PM (in response to free1000)Yes that worked thank you.
One quirk is that redeploying the ear doesn't overwrite them, this is a bit more persistent than I expected, any idea where the preferences are written? -
4. Re: Persisting Prefs broken in 2.4 ?
mholzner Oct 18, 2006 2:01 PM (in response to free1000)preferences are stored in the database.
I haven't looked at that part of the code, but knowing Julien, the preference store is probably pluggable ;)