Author: simoneg
Date: Mon May 16 20:29:58 2011
New Revision: 1103873
URL: http://svn.apache.org/viewvc?rev=1103873&view=rev
Log:
Added a check in case of erreoneous call on a non properly inited bean
Modified:
labs/magma/trunk/website-velocity/src/main/java/org/apache/magma/website/velocity/FormatFields.aj
Modified:
labs/magma/trunk/website-velocity/src/main/java/org/apache/magma/website/velocity/FormatFields.aj
URL:
http://svn.apache.org/viewvc/labs/magma/trunk/website-velocity/src/main/java/org/apache/magma/website/velocity/FormatFields.aj?rev=1103873&r1=1103872&r2=1103873&view=diff
==============================================================================
---
labs/magma/trunk/website-velocity/src/main/java/org/apache/magma/website/velocity/FormatFields.aj
(original)
+++
labs/magma/trunk/website-velocity/src/main/java/org/apache/magma/website/velocity/FormatFields.aj
Mon May 16 20:29:58 2011
@@ -44,7 +44,7 @@ public aspect FormatFields percflow(rend
after (MagmaBeanSupport bean, Head head) returning (Object val):
calledForRendering(bean, head) {
BeanData beanData = bean.beanData();
- if (beandata == null) return;
+ if (beanData == null) return;
PropertyInfo property =
beanData.findProperty(((MethodSignature)thisJoinPointStaticPart.getSignature()).getMethod());
ret = val;
if (property == null) {
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]