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 populateItem(ListItem item) {
                         AjaxLink ajaxLink = new AjaxLink("tabLink", 
item.getModel()) {
                           public void onClick(AjaxRequestTarget target) {      
SimpleAttributeModifier("class", "on"));  //
want to do this but do not have access to item object from inner class  --
ideas for this?

View this message in context: 
Sent from the Wicket - User 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