jspwiki-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dirk Frederickx" <dirk.frederi...@gmail.com>
Subject Re: Theory of operation behind preferences?
Date Thu, 11 Dec 2008 18:40:17 GMT

On the preferencesTab.jsp there is not so much Javascript.

When you look at jspwiki-prefs.js, only the first part is important:
1) a window.onbeforeunload handler to throw a popup when leave the
page without saving
2) the savePrefs routine to save all prefs into the userprefs cookie.

Hope that helps,

On Thu, Dec 11, 2008 at 12:58 AM, Andrew R Jaquith
<andrew.r.jaquith@gmail.com> wrote:
> Dirk,
> I'm doing a bunch of work with Stripes, and am slowly upgrading the JSPs so
> that they work better with ActionBeans. It seems that a lot of the
> PreferencesTab.jsp (and other prefs work) relies heavily on JavaScript.
> Could you describe to me, at a high level, how it all works?
> Andrew

View raw message