result.put("execute", getExecuteParam(context, command, execute));
}
result.put("executeRenderedComponents", command.getExecuteRenderedComponents());
String onajaxstart = command.getOnajaxstart();
if (onajaxstart != null && onajaxstart.length() != 0) {
result.put("onajaxstart", new AnonymousFunction(onajaxstart, "event"));
}
String onajaxend = command.getOnajaxend();
if (onajaxend != null && onajaxend.length() != 0) {
result.put("onajaxend", new AnonymousFunction(onajaxend, "event"));
}
String onerror = command.getOnerror();
if (onerror != null && onerror.length() != 0) {
result.put("onerror", new AnonymousFunction(onerror, "event"));
}
String onsuccess = command.getOnerror();
if (onsuccess != null && onsuccess.length() != 0) {
result.put("onsuccess", new AnonymousFunction(onsuccess, "event"));
}
Integer delayObj = (Integer) command.getAttributes().get("delay");
int delay = delayObj != null ? delayObj : 0;
if (delay > 0) {
result.put("delay", delay);