How to access ListItem from ListView from AjaxLink?

2009-02-13 Thread moontz
I would like to add an attribute to the ListItem element in the markup (basically change the class style) on click of the link. Below is my snippet. Any insight on how I can accomplish this? Thanks in advance! ListView lv = new ListView(tabListView, tabList) { protected void

Re: How to access ListItem from ListView from AjaxLink?

2009-02-13 Thread moontz
is. in which case i would need to append javascript. i was hping there was a pure wicket solutioin though without using JS. igor.vaynberg wrote: final ListItem item -igor On Fri, Feb 13, 2009 at 7:36 AM, moontz bmun...@yahoo.com wrote: I would like to add an attribute to the ListItem