If you use a ListView, you have method populateItem that is called when each item is created. Argument item holds the current index, and item is where you attach your components, like icons, to.
Eelco On 2/10/06, VGJ <[EMAIL PROTECTED]> wrote: > I've built several applications w/ ASP.NET in the past and got very > comfortable w/ the built-in events that fire for some of the web UI controls > that come bundled w/ the framework. > > I was curious if there was an event (or something similar in concept) that > happens when each row is created in a table that is bound to a List? > > For example...when I'm displaying a dynamic set of table-rows and I need to > hook into each row to test a condition. Maybe I'd like to display a > different icon for a row that meets a particular condition. In the > applications where I've used Servlets/JSP, I would have just used JSTL to do > a <c:if> or <c:choose> to evaluate the contents of the data in the row. > > Can someone point me in the right direction? > > Thanks! > ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ Wicket-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wicket-user
