the loadabledetachablemodel is initialized with the object itself

eg new contactdetachablemodel(contact)

so during that initial request the model has the object already loaded
by the dataprovider

i suggest instead of making assumptions you try to write some code and
see how it works

-igor

On Mon, Oct 6, 2008 at 11:05 AM, jensiator <[EMAIL PROTECTED]> wrote:
>
> Hi Igor
> If the sortabledataprovider calls the db to get the window of data, and the
> detached model (set in the dataproviders model method) calls the db in the
> load method to get the data from a private transient id. Will not the
> database be called twice for every record/row in the dataset? The sortable
> example in wicket live action seems to do
> that(http://www.wicketstuff.org/wicket13/repeater/). Or am I getting it all
> wrong?
> Jens Alenius
>
> --
> View this message in context: 
> http://www.nabble.com/Serializing-model.-DetachedModel-or-not-tp19833559p19843071.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]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to