/** Applies the variable element against the parent component. * * @param comp the parent component (it cannot be null) */ public void apply(Component comp) { if (_vars != null && isEffective(comp)) { final Evaluator eval = getEvaluator(); for (Map.Entry<String, Object> me : _vars.entrySet()) { final String name = me.getKey(); final Object value = me.getValue(); comp.getSpaceOwner().setAttribute(name, Utils.evaluateComposite(eval, comp, value), !_local); } } }
setBean(beanid, val); } else if (!setZScriptVariable(comp, beanid, val)) { comp.getSpaceOwner().setAttribute(beanid, val, true);