But the model is only loaded if you render the component that uses the model. Detaching it on ajax request makes no difference as long as you don't rerender the component during an ajax request.
-Matej On Jan 19, 2008 9:51 PM, ckuehne <[EMAIL PROTECTED]> wrote: > > I don't want it to be cached across ALL requests. If the site is reloaded I > want > the model detached and reloaded as well. But not so between ajax request > that only > include some components of the site. > > > Matej Knopp-2 wrote: > > > > Detaching the model doesn't mean it is reloaded. The data is loaded > > when needed, if you want it to be cached across request you need to > > implement your own model. > > > > -Matej > > > > On Jan 19, 2008 6:28 PM, ckuehne <[EMAIL PROTECTED]> wrote: > >> > >> Just out of curiosity: I noticed that when I add a component to an > >> AjaxRequestTarget a detach of the component's parent page > >> (component.getPage()) is triggered. Is there a way around this behavior? > >> I have a listview on that page with a LoadableDetachableModel and I'd > >> rather > >> like that to be reloaded only > >> when absolutely necessary. > >> > >> Thank's in advance. > >> > >> Conny > >> -- > >> View this message in context: > >> http://www.nabble.com/Ajax-Detach-Question-tp14968096p14968096.html > >> Sent from the Wicket - User mailing list archive at Nabble.com. > >> > >> > >> --------------------------------------------------------------------- > >> To unsubscribe, e-mail: [EMAIL PROTECTED] > >> For additional commands, e-mail: [EMAIL PROTECTED] > >> > >> > > > > > > > > -- > > Resizable and reorderable grid components. > > http://www.inmethod.com > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > -- > View this message in context: > http://www.nabble.com/Ajax-Detach-Question-tp14968096p14975015.html > > Sent from the Wicket - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Resizable and reorderable grid components. http://www.inmethod.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
