Hi, even better! That's the way I would do it by myself! :-)
kind regards Tobias > Am 19.02.2015 um 12:05 schrieb Simon B <[email protected]>: > > Hi Tobias, > > Thanks for your answer. > > I've decided to use the ListView#getViewSize method > > so my check is as follows: > > if ((item.getIndex() + 1) == getViewSize()) { > // do last item stuff here > item.add(new AttributeModifier("class", > "lastItemClass")); > } > > Cheers > > Simon > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/Determine-Last-Item-in-a-ListView-tp4669641p4669643.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]
