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: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to