Re: [Wicket-user] Changing an attribute in response to a Link.onClick() method.

2005-10-15 Thread Philip A. Chapman
Everyone, I got an answer on the IRC channel. The problem was rooted in that fact that I was trying to modify an attribute of a ListItem in a ListView and ListViews recreate list items at construction time by default. Thanks, Philip A. Chapman wrote: > Everyone, > > I have written a subclass o

[Wicket-user] Changing an attribute in response to a Link.onClick() method.

2005-10-15 Thread Philip A. Chapman
Everyone, I have written a subclass of AttributeModifier that I had hoped to use to change an element's class attribute based on whether that item has been selected. The setSelected(true) is called from a Link.onClick() event method. However, when the page reloads, the element's class attribute