}
protected Object getExecuteParam(FacesContext context,
OUICommand command,
Iterable<String> execute) {
JSONArray renderArray = getRenderArray(context, command, execute);
if (!(command instanceof Ajax)) {
if (command instanceof ComponentConfigurator) {
UIComponent configuredComponent = ((ComponentConfigurator) command).getConfiguredComponent();
if (configuredComponent != null) {
String configuredId = configuredComponent.getClientId(context);
renderArray.put(configuredId);
}
}
return renderArray;
}
Ajax ajax = (Ajax) command;
if (!ajax.isStandalone() && ajax.getSubmitInvoker()) {
String invokerId = OUIClientActionHelper.getClientActionInvoker(context, ajax);
if (context.getViewRoot().findComponent(":" + invokerId) != null) {
// if invoker is a JSF component rather than raw HTML tag
renderArray.put(invokerId);
}
}
return renderArray;
}