I think the link in the ListView uses the index of the object in the list,
not the primary key.  That's likely the problem.

On Jan 30, 2008 9:37 AM, Johan Compagner <[EMAIL PROTECTED]> wrote:

> the loadable detachable model should have the pk of the contact itself
> thats
> behind the edit link
>
> On Jan 30, 2008 3:59 PM, dozgurc <[EMAIL PROTECTED]> wrote:
>
> >
> > i came across a problem with this article's code. i will try to explain
> > the
> > use case. after you insert a few contacts, open another browser, you can
> > see
> > same screen on both browsers. after deleting a contact from a browser
> you
> > are still seeing deleted contact. after that, click the deleted
> contact's
> > edit link. you will see different contact that you can edit. it is
> because
> > detachable model can load different subset of records and component only
> > gets the index of a record from http request, not id of a record. how
> can
> > i
> > solve this problem?
> > --
> > View this message in context:
> >
> http://www.nabble.com/Article%3A-Introducing-Apache-Wicket-tp15142773p15183311.html
> > Sent from the Wicket - User mailing list archive at Nabble.com<
> http://nabble.com/>
> > .
> >
> >
> > ---------------------------------------------------------------------
> >  To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>



-- 
Nick Heudecker
Professional Wicket Training & Consulting
http://www.systemmobile.com

Eventful - Intelligent Event Management
http://www.eventfulhq.com

Reply via email to