From 34ad158dce75bb0e57c81c100ec4952af8d5daf8 Mon Sep 17 00:00:00 2001 From: Toby Jee Date: Sun, 14 May 2006 17:47:20 +0000 Subject: [PATCH] WW-1312 git-svn-id: https://svn.apache.org/repos/asf/struts/action2/trunk@406385 13f79535-47bb-0310-9956-ffa450edef68 --- .../java/org/apache/struts/action2/components/UIBean.java | 7 +++++++ core/src/main/resources/META-INF/taglib.tld | 8 ++++++++ 2 files changed, 15 insertions(+) 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