diff --git a/core/src/main/java/org/apache/struts/action2/components/UIBean.java b/core/src/main/java/org/apache/struts/action2/components/UIBean.java
index 68c113260..7ef546b58 100644
--- a/core/src/main/java/org/apache/struts/action2/components/UIBean.java
+++ b/core/src/main/java/org/apache/struts/action2/components/UIBean.java
@@ -964,6 +964,13 @@ public abstract class UIBean extends Component {
}
+ /**
+ * 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
diff --git a/core/src/main/resources/META-INF/taglib.tld b/core/src/main/resources/META-INF/taglib.tld
index 6104ec3d2..4d89f6508 100644
--- a/core/src/main/resources/META-INF/taglib.tld
+++ b/core/src/main/resources/META-INF/taglib.tld
@@ -733,6 +733,14 @@
JSP
+
+ templateDir
+ false
+ true
+
+
+
+
theme
false