> Apologies for the dumb question but I'm rather new to wicket and was
> wondering if it is safe to use member variables within components
> (i.e. compared to servlets, struts1 actions etc).

Mostly yes: The component instances are tied to the user's session via the 
pagemap. But be wary of excessive state, i.e. prefer (dynamic) models over 
straight values, pass a PageReference instead of the Page to other pages etc. 
Shared state between pages/components is better kept in a custom Session 
subclass.

- Tor Iver.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to