On Mon, 18 Feb 2008, Mazzanti Luca wrote: > ok i store in session only objects that contain the state of the page, and i > pass it to the model of the page.
Wicket components (including Page) are stateful, you don't need to do that by yourself. To keep the state you just need to use the same page instance. > and for a treePanel, if i don't want to reload every time the tree, i can > put the tree-model in the IModel of panel and at panel instantiation time > retrieve the tree-model from session where i store it? Them same here, just use the same Panel instance and its state will be stored transparently by Wicket. Best wishes, Timo -- Timo Rantalaiho Reaktor Innovations Oy <URL: http://www.ri.fi/ > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
