Re: Determine Last Item in a ListView

2015-02-19 Thread Tobias Soloschenko
: > >if ((item.getIndex() + 1) == getViewSize()) { > // do last item stuff here > item.add(new AttributeModifier("class", > "lastItemClass")); >} > > Cheers > > Simon > > -- >

Re: Determine Last Item in a ListView

2015-02-19 Thread Simon B
"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 l

Re: Determine Last Item in a ListView

2015-02-19 Thread Tobias Soloschenko
; > 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. > > ---

Determine Last Item in a ListView

2015-02-19 Thread Simon B
tem); 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. --