public void setValue(Object base, int index, Object value) throws EvaluationException, PropertyNotFoundException { nested.setValue(base, index, value); }
public void setValue(Object base, int index, Object value) { nested.setValue(base, index, value); //!CQ TODO: indexed properties }
public void setValue(Object base, int index, Object value) throws EvaluationException, PropertyNotFoundException { originalResolver.setValue(base, index, value); }
public void setValue(Object base, Object property, Object value) throws EvaluationException, PropertyNotFoundException { originalResolver.setValue(base, property, value); }
public void setValue(Object base, Object property, Object value) throws EvaluationException, PropertyNotFoundException { if (base instanceof RowData) { ((RowData) base).setData(property.toString(), value); return; } nested.setValue(base, property, value); }
public void setValue(Object base, int index, Object value) throws EvaluationException, PropertyNotFoundException { if (base instanceof FlowExecution) { throw new ReferenceSyntaxException("Cannot apply an index value to a flow execution"); } else { resolverDelegate.setValue(base, index, value); } }
public void setValue(Object base, Object property, Object value) throws EvaluationException, PropertyNotFoundException { if (base instanceof FlowExecution) { FlowExecution execution = (FlowExecution) base; assertPropertyNameValid(property); doSetAttribute(execution, (String) property, value); } else { resolverDelegate.setValue(base, property, value); } }
public void setValue(Object base, int index, Object value) throws EvaluationException, PropertyNotFoundException { elContext.getELResolver().setValue(elContext, base, new Integer(index), value); if (!elContext.isPropertyResolved()) { nextResolver.setValue(base, index, value); } }
/** * <p>Convert an index into a corresponding string, and delegate.</p> * * @param base Base object into which to store a property * @param index Index to be stored * @param value Value to be stored * * @exception EvaluationException if an evaluation error occurs * @exception PropertyNotFoundException if there is no such named * object in this context */ public void setValue(Object base, int index, Object value) throws EvaluationException, PropertyNotFoundException { if (base instanceof Context) { setValue(base, "" + index, value); } else if (base instanceof LoadBundle) { setValue(base, "" + index, value); } else { original.setValue(base, index, value); } }
public void setValue(Object base, Object property, Object value) throws EvaluationException, PropertyNotFoundException { elContext.getELResolver().setValue(elContext, base, property, value); if (!elContext.isPropertyResolved()) { nextResolver.setValue(base, property, value); } }
@Override public void setValue(Object base, Object property, Object value) { if (delegate != null) { delegate.setValue(base, property, value); return; } try { FacesContext context = FacesContext.getCurrentInstance(); context.getApplication().getELResolver().setValue(context.getELContext(), base,property, value); } catch (javax.el.PropertyNotFoundException | javax.el.PropertyNotWritableException pnfe) { throw new PropertyNotFoundException(pnfe); } catch (ELException elex) { throw new EvaluationException(elex); } }
@Override public void setValue(Object base, Object property, Object value) { if (delegate != null) { delegate.setValue(base, property, value); return; } try { FacesContext context = FacesContext.getCurrentInstance(); context.getApplication().getELResolver().setValue(context.getELContext(), base,property, value); } catch (javax.el.PropertyNotFoundException | javax.el.PropertyNotWritableException pnfe) { throw new PropertyNotFoundException(pnfe); } catch (ELException elex) { throw new EvaluationException(elex); } }
public void setValue(Object base, Object property, Object value) { if (delegate != null) { delegate.setValue(base, property, value); return; } try { FacesContext context = FacesContext.getCurrentInstance(); context.getApplication().getELResolver().setValue(context.getELContext(), base,property, value); } catch (javax.el.PropertyNotFoundException pnfe) { throw new PropertyNotFoundException(pnfe); } catch (javax.el.PropertyNotWritableException pnwe) { throw new PropertyNotFoundException(pnwe); } catch (ELException elex) { throw new EvaluationException(elex); } }
public void setValue(Object base, Object property, Object value) { if (delegate != null) { delegate.setValue(base, property, value); return; } try { FacesContext context = FacesContext.getCurrentInstance(); context.getApplication().getELResolver().setValue(context.getELContext(), base,property, value); } catch (javax.el.PropertyNotFoundException pnfe) { throw new PropertyNotFoundException(pnfe); } catch (javax.el.PropertyNotWritableException pnwe) { throw new PropertyNotFoundException(pnwe); } catch (ELException elex) { throw new EvaluationException(elex); } }
public void setValue(Object base, Object property, Object value) { //Trace.trace("jsfsupport.container", "MPR setValue " + base + " " + property + " " + value); if (base instanceof DesignBean) { DesignBean lbbase = (DesignBean)base; try { FacesContext context = FacesContext.getCurrentInstance(); ExpressionFactory exprFactory = context.getApplication().getExpressionFactory(); String name = (String) exprFactory.coerceToType(property, String.class); DesignProperty lp = lbbase.getProperty(name); if (lp != null) { lp.setValue(value); return; } if (lbbase.isContainer()) { DesignBean lb = findLiveDescendent(lbbase, name); if (lb != null) throw new EvaluationException("Illegal setting of immutable property: " + base + " . " + name); } } catch (ELException e) { } throw new PropertyNotFoundException("" + property); } else { nested.setValue(base, property, value); } }