Author: jacopoc
Date: Mon May 21 08:16:08 2007
New Revision: 540167
URL:
http://svn.apache.org/viewvc?view=rev&rev=540167Log:
Formatting cleanups: tabs to spaces.
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=540167&r1=540166&r2=540167==============================================================================
--- 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:16:08 2007
@@ -639,14 +639,14 @@
if (this.entryAcsr != null && !this.entryAcsr.isEmpty()) {
//Debug.logInfo("Getting entry, using entryAcsr for field " + this.getName() + " of form " + this.modelForm.getName(), module);
if (dataMap instanceof GenericEntity) {
- GenericEntity genEnt = (GenericEntity) dataMap;
- if (genEnt.getModelEntity().isField(this.entryAcsr.getOriginalName())) {
- retVal = genEnt.get(this.entryAcsr.getOriginalName());
- } else {
- retVal = this.entryAcsr.get(dataMap);
- }
+ GenericEntity genEnt = (GenericEntity) dataMap;
+ if (genEnt.getModelEntity().isField(this.entryAcsr.getOriginalName())) {
+ retVal = genEnt.get(this.entryAcsr.getOriginalName());
+ } else {
+ retVal = this.entryAcsr.get(dataMap);
+ }
} else {
- retVal = this.entryAcsr.get(dataMap);
+ retVal = this.entryAcsr.get(dataMap);
}
} else {
//Debug.logInfo("Getting entry, no entryAcsr so using field name " + this.name + " for field " + this.getName() + " of form " + this.modelForm.getName(), module);