String selector = controlBehavior.getSelector(); if (isEmpty(apiFunctionName) || (isEmpty(targetSourceString) && isEmpty(selector))) { throw new IllegalArgumentException( "One of the necessary attributes is null or empty. Check operation attribute and selector or target attributes."); List<Object> apiFunctionParams = createSignature(controlBehavior); script.append(REF_COMPONENT).append(",").append(ScriptUtils.toScript(apiFunctionParams.toArray())).append(");"); callback.addToBody(script); parameters.put(PARAM_TARGET, resolveTargets(facesContext, targetSourceString)); parameters.put(PARAM_SELECTOR, selector);
String selector = controlBehavior.getSelector(); if (isEmpty(apiFunctionName) || (isEmpty(targetSourceString) && isEmpty(selector))) { throw new IllegalArgumentException( "One of the necessary attributes is null or empty. Check operation attribute and selector or target attributes."); List<Object> apiFunctionParams = createSignature(controlBehavior); script.append(REF_COMPONENT).append(",").append(ScriptUtils.toScript(apiFunctionParams.toArray())).append(");"); callback.addToBody(script); parameters.put(PARAM_TARGET, resolveTargets(facesContext, targetSourceString)); parameters.put(PARAM_SELECTOR, selector);
String selector = controlBehavior.getSelector(); if (isEmpty(apiFunctionName) || (isEmpty(targetSourceString) && isEmpty(selector))) { throw new IllegalArgumentException( "One of the necessary attributes is null or empty. Check operation attribute and selector or target attributes."); List<Object> apiFunctionParams = createSignature(controlBehavior); script.append(REF_COMPONENT).append(",").append(ScriptUtils.toScript(apiFunctionParams.toArray())).append(");"); callback.addToBody(script); parameters.put(PARAM_TARGET, resolveTargets(facesContext, targetSourceString)); parameters.put(PARAM_SELECTOR, selector);
String selector = controlBehavior.getSelector(); if (isEmpty(apiFunctionName) || (isEmpty(targetSourceString) && isEmpty(selector))) { throw new IllegalArgumentException( "One of the necessary attributes is null or empty. Check operation attribute and selector or target attributes."); List<Object> apiFunctionParams = createSignature(controlBehavior); script.append(REF_COMPONENT).append(",").append(ScriptUtils.toScript(apiFunctionParams.toArray())).append(");"); callback.addToBody(script); parameters.put(PARAM_TARGET, resolveTargets(facesContext, targetSourceString)); parameters.put(PARAM_SELECTOR, selector);