+ "evtType=attrs.event.type,"
+ "ret=false;"
+ "if (evtType==='blur' || (evtType==='keyup' && kc===27) || (evtType==='keydown' && kc===13)) {attrs.event.preventDefault(); ret = true;}"
+ "return ret;";
AjaxCallListener ajaxCallListener = new AjaxCallListener();
ajaxCallListener.onPrecondition(precondition);
CharSequence dynamicExtraParameters = "var result = [],"
+ "evtType=attrs.event.type;"
+ "if (evtType === 'keyup') { result.push( { name: 'save', value: false } ); }"
+ "else { result = Wicket.Form.serializeElement(attrs.c); result.push( { name: 'save', value: true } ); }"