use of org.odlabs.wiquery.core.options.IComplexOption in project wiquery by WiQuery.
the class WiQueryAbstractAjaxBehavior method respond.
@Override
protected void respond(AjaxRequestTarget target) {
IRequestParameters req = RequestCycle.get().getRequest().getRequestParameters();
String eventName = req.getParameterValue("eventName").toString();
IComplexOption callback = options.getComplexOption(eventName);
if (callback instanceof AbstractAjaxEventCallback) {
((AbstractAjaxEventCallback) callback).call(target, getComponent());
}
}
Aggregations