Hi,
Taking a look at ListView.moveUpLink as example, I doubt that this
getList().indexOf() will return a correct index if we have duplicate
items with same identity in getList(). Should not it uses
item.getIndex() instead?
public final Link moveUpLink(final String id, final ListItem item)
{
return new Link(id)
{
private static final long serialVersionUID = 1L;
public void onClick()
{
final int index =
getList().indexOf(item.getModelObject()); // use
item.getIndex() instead?
Thank You.
Regards
Boon Ping
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]