public PropertyDescriptor getProperty(String name) { PropertyDescriptor pd = _delegate.getProperty(name); if (pd == null) { pd = _pd.get(name); } return pd; }
if (type == null) if (meta.getProperty(name) == null)
if (type == null) if (meta.getProperty(name) == null)
public PropertyDescriptor getProperty(String name) { PropertyDescriptor pd = _delegate.getProperty(name); if (pd == null) { pd = _pd.get(name); } return pd; }
if (type == null) if (meta.getProperty(name) == null)
public PropertyDescriptor getProperty(String name) { PropertyDescriptor pd = _delegate.getProperty(name); if (pd == null) { pd = _pd.get(name); } return pd; }
public Metadata applyRule(String name, TagAttribute attribute, MetadataTarget meta) { // ViewDeclarationLanguage.retargetMethodExpressions only works when a method-signature // is defined, so we just have to apply this rule on that case. if ("action".equals(name) || "actionListener".equals(name) || "validator".equals(name) || "valueChangeListener".equals(name)) { return new RetargetValueExpressionMapper(attribute, name); } else { PropertyDescriptor propertyDescriptor = meta.getProperty(name); //Type takes precedence over method-signature if (propertyDescriptor != null && propertyDescriptor.getValue("type") == null) { ValueExpression methodSignatureExpression = (ValueExpression) propertyDescriptor.getValue("method-signature"); if (methodSignatureExpression != null) { return new RetargetValueExpressionMapper(attribute, name); } } } return null; } }
public Metadata applyRule(String name, TagAttribute attribute, MetadataTarget meta) { // ViewDeclarationLanguage.retargetMethodExpressions only works when a method-signature // is defined, so we just have to apply this rule on that case. if ("action".equals(name) || "actionListener".equals(name) || "validator".equals(name) || "valueChangeListener".equals(name)) { return new RetargetValueExpressionMapper(attribute, name); } else { PropertyDescriptor propertyDescriptor = meta.getProperty(name); //Type takes precedence over method-signature if (propertyDescriptor != null && propertyDescriptor.getValue("type") == null) { ValueExpression methodSignatureExpression = (ValueExpression) propertyDescriptor.getValue("method-signature"); if (methodSignatureExpression != null) { return new RetargetValueExpressionMapper(attribute, name); } } } return null; } }
PropertyDescriptor propertyDescriptor = meta.getProperty(name);