Hi,
I have code to create an ajax link and I want it to dynamically adjust
its css class when clicked. This doesn't work since I don't think the
onComponentTag is being called.
final AjaxLink link = new AjaxLink("navlink") {
@Override
public void onClick(AjaxRequestTarget target) {
}
public void onComponentTag(ComponentTag tag) {
super.onComponentTag(tag);
if (foo == 77) {
tag.put("class", "secondaryCurrent");
}
}
};
Any help is greatly appreciated!
Thanks, Jason
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]