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] > >