empire-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From doeb...@apache.org
Subject svn commit: r692490 - in /incubator/empire-db/trunk/struts2-ext/Empire-struts2-ext/src: META-INF/empire-tags.tld org/apache/empire/struts2/jsp/tags/EmpireValueTagSupport.java org/apache/empire/struts2/jsp/tags/InputControlTag.java
Date Fri, 05 Sep 2008 16:59:07 GMT
Author: doebele
Date: Fri Sep  5 09:59:07 2008
New Revision: 692490

URL: http://svn.apache.org/viewvc?rev=692490&view=rev
Log:
EMPIREDB-10

Modified:
    incubator/empire-db/trunk/struts2-ext/Empire-struts2-ext/src/META-INF/empire-tags.tld
    incubator/empire-db/trunk/struts2-ext/Empire-struts2-ext/src/org/apache/empire/struts2/jsp/tags/EmpireValueTagSupport.java
    incubator/empire-db/trunk/struts2-ext/Empire-struts2-ext/src/org/apache/empire/struts2/jsp/tags/InputControlTag.java

Modified: incubator/empire-db/trunk/struts2-ext/Empire-struts2-ext/src/META-INF/empire-tags.tld
URL: http://svn.apache.org/viewvc/incubator/empire-db/trunk/struts2-ext/Empire-struts2-ext/src/META-INF/empire-tags.tld?rev=692490&r1=692489&r2=692490&view=diff
==============================================================================
--- incubator/empire-db/trunk/struts2-ext/Empire-struts2-ext/src/META-INF/empire-tags.tld
(original)
+++ incubator/empire-db/trunk/struts2-ext/Empire-struts2-ext/src/META-INF/empire-tags.tld
Fri Sep  5 09:59:07 2008
@@ -309,6 +309,12 @@
 	  <type>org.apache.empire.data.Record</type>
     </attribute>
     <attribute>
+      <name>recordProperty</name>
+      <required>false</required>
+	  <rtexprvalue>true</rtexprvalue>
+	  <type>java.lang.String</type>
+    </attribute>
+    <attribute>
       <name>property</name>
       <required>false</required>
 	  <rtexprvalue>true</rtexprvalue>

Modified: incubator/empire-db/trunk/struts2-ext/Empire-struts2-ext/src/org/apache/empire/struts2/jsp/tags/EmpireValueTagSupport.java
URL: http://svn.apache.org/viewvc/incubator/empire-db/trunk/struts2-ext/Empire-struts2-ext/src/org/apache/empire/struts2/jsp/tags/EmpireValueTagSupport.java?rev=692490&r1=692489&r2=692490&view=diff
==============================================================================
--- incubator/empire-db/trunk/struts2-ext/Empire-struts2-ext/src/org/apache/empire/struts2/jsp/tags/EmpireValueTagSupport.java
(original)
+++ incubator/empire-db/trunk/struts2-ext/Empire-struts2-ext/src/org/apache/empire/struts2/jsp/tags/EmpireValueTagSupport.java
Fri Sep  5 09:59:07 2008
@@ -332,6 +332,11 @@
         this.property = StringUtils.validate(property);
     }
 
+    public final void setParentProperty(String property)
+    {
+        this.parentProperty = StringUtils.validate(property);
+    }
+
     public final void setRecord(RecordData record)
     {
         this.record = record;

Modified: incubator/empire-db/trunk/struts2-ext/Empire-struts2-ext/src/org/apache/empire/struts2/jsp/tags/InputControlTag.java
URL: http://svn.apache.org/viewvc/incubator/empire-db/trunk/struts2-ext/Empire-struts2-ext/src/org/apache/empire/struts2/jsp/tags/InputControlTag.java?rev=692490&r1=692489&r2=692490&view=diff
==============================================================================
--- incubator/empire-db/trunk/struts2-ext/Empire-struts2-ext/src/org/apache/empire/struts2/jsp/tags/InputControlTag.java
(original)
+++ incubator/empire-db/trunk/struts2-ext/Empire-struts2-ext/src/org/apache/empire/struts2/jsp/tags/InputControlTag.java
Fri Sep  5 09:59:07 2008
@@ -205,103 +205,108 @@
 
     // ********* All Setters *********
 
-    public void setColumn(Column column)
+    public final void setColumn(Column column)
     {
         this.column = column;
         super.setColumn(column);
     }
 
-    public void setOptions(Options options)
+    public final void setRecordProperty(String property)
+    {
+        super.setParentProperty(property);
+    }
+
+    public final void setOptions(Options options)
     {
         this.options = options;
     }
 
-    public void setRender(String render)
+    public final void setRender(String render)
     {
         this.render = render;
     }
 
-    public void setDisabledMode(String disabledMode)
+    public final void setDisabledMode(String disabledMode)
     {
         this.disabledMode = disabledMode;
     }
 
-    public void setFormat(String format)
+    public final void setFormat(String format)
     {
         this.format = format;
     }
 
-    public void setDisabled(Object disabled)
+    public final void setDisabled(Object disabled)
     {
         this.disabled = disabled;
     }
 
-    public void setLabel(String label)
+    public final void setLabel(String label)
     {
         this.label = label;
     }
 
-    public void setLabelClass(String labelClass)
+    public final void setLabelClass(String labelClass)
     {
         this.labelClass = labelClass;
     }
 
-    public void setLabelStyle(String labelStyle)
+    public final void setLabelStyle(String labelStyle)
     {
         this.labelStyle = labelStyle;
     }
 
-    public void setName(String name)
+    public final void setName(String name)
     {
         this.name = name;
     }
 
-    public void setRequired(Object required)
+    public final void setRequired(Object required)
     {
         this.required = required;
     }
 
-    public void setTabindex(String tabindex)
+    public final void setTabindex(String tabindex)
     {
         this.tabindex = tabindex;
     }
 
-    public void setHsize(Object hsize)
+    public final void setHsize(Object hsize)
     {
         this.hsize = hsize;
     }
 
-    public void setVsize(Object vsize)
+    public final void setVsize(Object vsize)
     {
         this.vsize = vsize;
     }
 
-    public void setNullValue(Object nullValue)
+    public final void setNullValue(Object nullValue)
     {
         this.nullValue = nullValue;
     }
 
-    public void setOnclick(String onclick)
+    public final void setOnclick(String onclick)
     {
         this.onclick = onclick;
     }
 
-    public void setControlType(String controlType)
+    public final void setControlType(String controlType)
     {
         this.controlType = controlType;
     }
 
-    public void setOnblur(String onblur)
+    public final void setOnblur(String onblur)
     {
         this.onblur = onblur;
     }
 
-    public void setOnchange(String onchange)
+    public final void setOnchange(String onchange)
     {
         this.onchange = onchange;
     }
 
-    public void setOnfocus(String onfocus)
+    public final void setOnfocus(String onfocus)
     {
         this.onfocus = onfocus;
     }



Mime
View raw message