Hi,

you can get the index of the item with ListItem.getIndex() and compare it with 
the last index of the model object. 

kind regards

Tobias

> Am 19.02.2015 um 11:34 schrieb Simon B <[email protected]>:
> 
> Hi, 
> 
> First of all thank you for creating Wicket its awesome, now that I'm a bit
> more familiar with it, I'm continually delighted by it.
> 
> Secondly could someone tell me what the best way of determining whether an
> item passed to the method:
> 
>         protected void populateItem(ListItem<?> item); 
> 
> is the last item?
> 
> Cheers
> 
> Simon
> 
> --
> View this message in context: 
> http://apache-wicket.1842946.n4.nabble.com/Determine-Last-Item-in-a-ListView-tp4669641.html
> Sent from the Users forum 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