public Object getValue(ELContext context, Object base, Object property) throws NullPointerException, PropertyNotFoundException, ELException { if (context == null) { throw new NullPointerException(); } Object val = null; if (base instanceof DynamicPropertied) { //don't get value before check it types(DynamicPropertied), to prevent call super //BeanELResolver too early before other resolvers try { val = super.getValue(context, base, property); } catch (PropertyNotFoundException x) { if (((DynamicPropertied) base).hasDynamicProperty(property.toString())) { context.setPropertyResolved(true); val = ((DynamicPropertied) base).getDynamicProperty(property.toString()); } else { context.setPropertyResolved(false); //super always set resolved to true, reset it } } } return val; }
if (dpcomp.hasDynamicProperty(_attr)) {
if (dpcomp.hasDynamicProperty(_attr)) { rawval = dpcomp.getDynamicProperty(_attr); } else {