svn commit: r1462265 - /ofbiz/trunk/framework/service/src/org/ofbiz/service/ModelParam.java

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r1462265 - /ofbiz/trunk/framework/service/src/org/ofbiz/service/ModelParam.java

ashish-18
Author: ashish
Date: Thu Mar 28 19:15:50 2013
New Revision: 1462265

URL: http://svn.apache.org/r1462265
Log:
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;