I'm using a listview to output an ordered list.  I would like to add a class to my li programatically.  I don't see a way to do that using the ListView

simple template:
<ol>
  <!-- want to add a class="foo" to this li! -->
  <li wicket:id="item">text goes here</li>
</ol>

code:
populateItem(Item item) {
   //how to add a class to this li?
   item.addClass("foo");
}
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to