I want to run a particular javascript when selection is changed in the drop down choice, so I added a simple attribute modifier like this :
ddc.add(new SimpleAttributeModifier("onchange", "calc();"));
But if I do this, it completely overrides the wicket onSelectionChanged() method. I need a way to perform both.
Thanks