Author: jacopoc
Date: Mon May 21 08:15:28 2007
New Revision: 540166
URL:
http://svn.apache.org/viewvc?view=rev&rev=540166Log:
Bug fix: the value returned by the genEnt map was not assigned to a variable.
Modified:
ofbiz/trunk/framework/widget/src/org/ofbiz/widget/form/ModelFormField.java
Modified: ofbiz/trunk/framework/widget/src/org/ofbiz/widget/form/ModelFormField.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/widget/src/org/ofbiz/widget/form/ModelFormField.java?view=diff&rev=540166&r1=540165&r2=540166==============================================================================
--- ofbiz/trunk/framework/widget/src/org/ofbiz/widget/form/ModelFormField.java (original)
+++ ofbiz/trunk/framework/widget/src/org/ofbiz/widget/form/ModelFormField.java Mon May 21 08:15:28 2007
@@ -641,8 +641,10 @@
if (dataMap instanceof GenericEntity) {
GenericEntity genEnt = (GenericEntity) dataMap;
if (genEnt.getModelEntity().isField(this.entryAcsr.getOriginalName())) {
- genEnt.get(this.entryAcsr.getOriginalName());
- }
+ retVal = genEnt.get(this.entryAcsr.getOriginalName());
+ } else {
+ retVal = this.entryAcsr.get(dataMap);
+ }
} else {
retVal = this.entryAcsr.get(dataMap);
}