You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@struts.apache.org by tm...@apache.org on 2006/05/14 19:47:20 UTC

svn commit: r406385 - in /struts/action2/trunk/core/src/main: java/org/apache/struts/action2/components/UIBean.java resources/META-INF/taglib.tld

Author: tmjee
Date: Sun May 14 10:47:20 2006
New Revision: 406385

URL: http://svn.apache.org/viewcvs?rev=406385&view=rev
Log:
WW-1312


Modified:
    struts/action2/trunk/core/src/main/java/org/apache/struts/action2/components/UIBean.java
    struts/action2/trunk/core/src/main/resources/META-INF/taglib.tld

Modified: struts/action2/trunk/core/src/main/java/org/apache/struts/action2/components/UIBean.java
URL: http://svn.apache.org/viewcvs/struts/action2/trunk/core/src/main/java/org/apache/struts/action2/components/UIBean.java?rev=406385&r1=406384&r2=406385&view=diff
==============================================================================
--- struts/action2/trunk/core/src/main/java/org/apache/struts/action2/components/UIBean.java (original)
+++ struts/action2/trunk/core/src/main/java/org/apache/struts/action2/components/UIBean.java Sun May 14 10:47:20 2006
@@ -964,6 +964,13 @@
     }
 
 
+    /**
+     * The template directory.
+     * @a2.tagattribute required="false"
+     */
+    public void setTemplateDir(String templateDir) {
+    	this.templateDir = templateDir;
+    }
 
     /**
      * The theme (other than default) to use for rendering the element

Modified: struts/action2/trunk/core/src/main/resources/META-INF/taglib.tld
URL: http://svn.apache.org/viewcvs/struts/action2/trunk/core/src/main/resources/META-INF/taglib.tld?rev=406385&r1=406384&r2=406385&view=diff
==============================================================================
--- struts/action2/trunk/core/src/main/resources/META-INF/taglib.tld (original)
+++ struts/action2/trunk/core/src/main/resources/META-INF/taglib.tld Sun May 14 10:47:20 2006
@@ -734,6 +734,14 @@
       <description><![CDATA[Render a custom ui widget]]></description>
 
       <attribute>
+         <name>templateDir</name>
+         <required>false</required>
+         <rtexprvalue>true</rtexprvalue>
+
+           <description><![CDATA[The template directory.]]></description>
+
+      </attribute>
+      <attribute>
          <name>theme</name>
          <required>false</required>
          <rtexprvalue>true</rtexprvalue>