Author: ashish
Date: Thu Mar 28 19:15:50 2013
New Revision: 1462265
URL:
http://svn.apache.org/r1462265Log:
Adding Method to retrieve form-label from model parameter object in freemarker. Thanks Ankush for providing method for this missing functionality.
Modified:
ofbiz/trunk/framework/service/src/org/ofbiz/service/ModelParam.java
Modified: ofbiz/trunk/framework/service/src/org/ofbiz/service/ModelParam.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/service/src/org/ofbiz/service/ModelParam.java?rev=1462265&r1=1462264&r2=1462265&view=diff==============================================================================
--- ofbiz/trunk/framework/service/src/org/ofbiz/service/ModelParam.java (original)
+++ ofbiz/trunk/framework/service/src/org/ofbiz/service/ModelParam.java Thu Mar 28 19:15:50 2013
@@ -132,6 +132,10 @@ public class ModelParam implements Seria
public String getName() {
return this.name;
}
+ // Method to retrieve form-label from model parameter object in freemarker
+ public String getFormLabel() {
+ return this.formLabel;
+ }
public String getType() {
return this.type;