Also, is the item you're trying to remove a null in the list?  Or, is it a
problem with equals/hashcode not being implemented correctly?  I just fixed
a bug in ListView this week with the remove link and move up/down links.  It
was relying on the equals of the model object of the item to find which to
remove.  Now it removes by index.  But I think James is on to the right
answer for your case.

On Sat, Jun 19, 2010 at 7:50 AM, James Carman <ja...@carmanconsulting.com>wrote:

> Just as a test, turn off the reuseItems property.  See what happens.
>
> On Sat, Jun 19, 2010 at 5:04 AM, jOki <joa...@gmail.com> wrote:
> >
> > Even Im trying to implement the remove link as:
> >
> >  - item.add(removeLink("removeKeyword", item));
> >
> > and it doesnt work... always remove the last row...
> >
> >
> > --
> > View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/ListView-dynamic-rows-always-remove-last-row-tp2260480p2261045.html
> > Sent from the Wicket - User mailing list archive at Nabble.com.
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> > For additional commands, e-mail: users-h...@wicket.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>


-- 
Jeremy Thomerson
http://www.wickettraining.com

Reply via email to