meduolis wrote:
Again, I can offer a hack :D
public class DoSomeHackBehavior extends AbstractBehavior {
private static final long serialVersionUID = 3554634545756435367L;
@Override
public void onComponentTag(Component component, ComponentTag tag) {
Again, I can offer a hack :D
public class DoSomeHackBehavior extends AbstractBehavior {
private static final long serialVersionUID = 3554634545756435367L;
@Override
public void onComponentTag(Component component, ComponentTag tag) {
FormComponent? comp
Doh! Never mind. I just discovered that buried in my Page was this piece of
code: AjaxFormValidatingBehavior.addToAllFormComponents(form,onblur);
That's what was adding the onblur call to the dropdown.
--
View this message in context:
I have defined a dropdown using the AjaxFormComponentUpdatingBehavior for the
onchange event. When I look at the html generated, the Ajax call is
associated with both the onchange and the onblur events. I would like the
call to be done only on the onchange event, not the onblur event. Is there
meduolis wrote:
I dont know if it works, but you can try to make a hack :)
endDateDropDown = new DropDownChoiceDate(endDateDropDown, new
PropertyModel(viewHistoryCriteria, endDate),
ProcessDateContext.getSixtyDayRange());
endDateDropDown.add(new