Author: nbelaevski
Date: 2010-07-13 06:58:10 -0400 (Tue, 13 Jul 2010)
New Revision: 17996
Modified:
root/cdk/trunk/plugins/generator/src/main/java/org/richfaces/cdk/model/validator/ValidatorImpl.java
Log:
Hidden attributes are not validated for signature emptiness
Modified:
root/cdk/trunk/plugins/generator/src/main/java/org/richfaces/cdk/model/validator/ValidatorImpl.java
===================================================================
---
root/cdk/trunk/plugins/generator/src/main/java/org/richfaces/cdk/model/validator/ValidatorImpl.java 2010-07-13
03:26:13 UTC (rev 17995)
+++
root/cdk/trunk/plugins/generator/src/main/java/org/richfaces/cdk/model/validator/ValidatorImpl.java 2010-07-13
10:58:10 UTC (rev 17996)
@@ -384,7 +384,7 @@
} else if
("javax.el.MethodExpression".equals(attribute.getType().getName())) {
attribute.setBindingAttribute(true);
}
- if(attribute.isBindingAttribute() &&
attribute.getSignature().isEmpty()){
+ if(attribute.isBindingAttribute() && attribute.getSignature().isEmpty()
&& !attribute.isHidden()) {
log.error("Signature for method expression attribute
"+attribute.getName()+" has not been set");
}
// Check "generate" flag.
Show replies by date