From 26ccd99889a57a3d40398927000b328d6467ba5d Mon Sep 17 00:00:00 2001
From: Jeremy Grelle
Date: Thu, 12 Mar 2009 14:46:50 +0000
Subject: [PATCH] Tag documentation updates.
---
.../main/resources/META-INF/faces-config.xml | 11 ------
.../main/resources/META-INF/spring-faces.tld | 39 +++++++++++++++++++
.../resources/META-INF/springfaces.taglib.xml | 8 ----
3 files changed, 39 insertions(+), 19 deletions(-)
diff --git a/spring-faces/src/main/resources/META-INF/faces-config.xml b/spring-faces/src/main/resources/META-INF/faces-config.xml
index a03e4bc2..b08197b6 100644
--- a/spring-faces/src/main/resources/META-INF/faces-config.xml
+++ b/spring-faces/src/main/resources/META-INF/faces-config.xml
@@ -57,11 +57,6 @@
org.springframework.faces.ui.DynamicComponent
-
- spring.faces.DojoElementDecoration
- org.springframework.faces.ui.SpringJavascriptElementDecoration
-
-
spring.faces.DojoClientTextValidator
org.springframework.faces.ui.DojoClientTextValidator
@@ -119,12 +114,6 @@
org.springframework.faces.ui.DojoWidgetRenderer
-
- spring.faces.Decoration
- spring.faces.DojoElementDecorationRenderer
- org.springframework.faces.ui.DojoElementDecorationRenderer
-
-
spring.faces.DynamicComponent
spring.faces.ValidateAllRenderer
diff --git a/spring-faces/src/main/resources/META-INF/spring-faces.tld b/spring-faces/src/main/resources/META-INF/spring-faces.tld
index 0d5fe59d..0378fd7a 100644
--- a/spring-faces/src/main/resources/META-INF/spring-faces.tld
+++ b/spring-faces/src/main/resources/META-INF/spring-faces.tld
@@ -19,7 +19,46 @@
includeStyles
empty
+
+
+ The dojo theme to include when importing the CSS stylesheets.
+ This can be either one of the pre-packaged Dojo themes or it can be a completely custom one that follows
+ the necessary Dojo conventions.
]]>
+
+ theme
+ false
+
+ java.lang.String
+
+
+
+
+ The path to the Dojo theme to include when importing the CSS stylesheets. Defaults to
+ /dijit/themes/
+ Note that the theme name will be appended to any specified path. For example, if you have
+ a modified version of the Dojo Tundra theme located at the path /customTheme/tundra/, the proper
+ value of the themePath attribute would be "/customTheme/".
]]>
+
+ themePath
+ false
+
+ java.lang.String
+
+
+
+
+
+ Renders the necessary JavaScript file includes for the Spring Faces components.
+ Use of this tag in the head section of a page that contains the Spring Faces components is recommended
+ as a browser performance optimization in keeping with the
+ Yahoo performance guidelines. If this tag is not included, the script includes will be rendered
+ inline with the first instance of a Spring Faces component that requires theme.
]]>
+
+ includeScripts
+
+ empty
+
diff --git a/spring-faces/src/main/resources/META-INF/springfaces.taglib.xml b/spring-faces/src/main/resources/META-INF/springfaces.taglib.xml
index b686602e..7eea480e 100644
--- a/spring-faces/src/main/resources/META-INF/springfaces.taglib.xml
+++ b/spring-faces/src/main/resources/META-INF/springfaces.taglib.xml
@@ -54,14 +54,6 @@
-
- elementDecoration
-
- spring.faces.DojoElementDecoration
- spring.faces.DojoElementDecorationRenderer
-
-
-
clientTextValidator