[seam-commits] Seam SVN: r7555 - branches/Seam_2_0/ui/src/main/config/component.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Thu Mar 13 06:42:07 EDT 2008


Author: pete.muir at jboss.org
Date: 2008-03-13 06:42:07 -0400 (Thu, 13 Mar 2008)
New Revision: 7555

Modified:
   branches/Seam_2_0/ui/src/main/config/component/convertDateTime.xml
   branches/Seam_2_0/ui/src/main/config/component/decorate.xml
   branches/Seam_2_0/ui/src/main/config/component/fragment.xml
   branches/Seam_2_0/ui/src/main/config/component/graphicImage.xml
   branches/Seam_2_0/ui/src/main/config/component/label.xml
   branches/Seam_2_0/ui/src/main/config/component/link.xml
   branches/Seam_2_0/ui/src/main/config/component/remote.xml
   branches/Seam_2_0/ui/src/main/config/component/selectDate.xml
   branches/Seam_2_0/ui/src/main/config/component/selection.xml
   branches/Seam_2_0/ui/src/main/config/component/transformImageBlur.xml
   branches/Seam_2_0/ui/src/main/config/component/transformImageSize.xml
   branches/Seam_2_0/ui/src/main/config/component/transformImageType.xml
Log:
Backport r7554, JBSEAM-1567

Modified: branches/Seam_2_0/ui/src/main/config/component/convertDateTime.xml
===================================================================
--- branches/Seam_2_0/ui/src/main/config/component/convertDateTime.xml	2008-03-13 10:41:16 UTC (rev 7554)
+++ branches/Seam_2_0/ui/src/main/config/component/convertDateTime.xml	2008-03-13 10:42:07 UTC (rev 7555)
@@ -18,26 +18,32 @@
 		<property>
 			<name>timeStyle</name>
 			<classname>java.lang.String</classname>
+            <description>Predefined formatting style which determines how the time component of a date string is to be formatted and parsed. Applied only if type is "time" or "both". Valid values are "default", "short", "medium", "long", and "full". Default value is "default".</description>
 		</property>
 		<property>
 			<name>dateStyle</name>
 			<classname>java.lang.String</classname>
+            <description>Predefined formatting style which determines how the date component of a date string is to be formatted and parsed. Applied only if type is "date" or "both". Valid values are "default", "short", "medium", "long", and "full". Default value is "default".</description>
 		</property>
 		<property>
 			<name>pattern</name>
 			<classname>java.lang.String</classname>
+            <description>Custom formatting pattern which determines how the date/time string should be formatted and parsed.</description>
 		</property>
 		<property elonly="true">
 			<name>locale</name>
 			<classname>java.util.Locale</classname>
+            <description>Locale whose predefined styles for dates and times are used during formatting or parsing. If not specified, the Locale returned by FacesContext.getViewRoot().getLocale() will be used. Value must be either a VB expression that evaluates to a java.util.Locale instance, or a String that is valid to pass as the first argument to the constructor java.util.Locale(String language, String country). The empty string is passed as the second argument.</description>
 		</property>
 		<property elonly="true">
 			<name>timeZone</name>
 			<classname>java.util.TimeZone</classname>
+            <description>Time zone in which to interpret any time information in the date String. Value must be either a VB expression that evaluates to a java.util.TimeZone instance, or a String that is a timezone ID as described in the javadocs for java.util.TimeZone.getTimeZone().</description>
 		</property>
 		<property>
 			<name>type</name>
 			<classname>java.lang.String</classname>
+            <description>Specifies what contents the string value will be formatted to include, or parsed expecting. Valid values are "date", "time", and "both". Default value is "date".</description>
 			<defaultvalue>"date"</defaultvalue>
 		</property>
 	</converter>

Modified: branches/Seam_2_0/ui/src/main/config/component/decorate.xml
===================================================================
--- branches/Seam_2_0/ui/src/main/config/component/decorate.xml	2008-03-13 10:41:16 UTC (rev 7554)
+++ branches/Seam_2_0/ui/src/main/config/component/decorate.xml	2008-03-13 10:42:07 UTC (rev 7555)
@@ -32,13 +32,13 @@
 		<property el="false">
 			<name>for</name>
 			<classname>java.lang.String</classname>
-			<description></description>
+			<description>Id of the input field to decorate</description>
 		</property>
 	    
 	    <property exist="true">	        
 	        <name>template</name>
 	        <classname>java.lang.String</classname>
-	        <description></description>
+	        <description>XHTML template to use to decorate the input field</description>
 	    </property>
 	    
 	</component>

Modified: branches/Seam_2_0/ui/src/main/config/component/fragment.xml
===================================================================
--- branches/Seam_2_0/ui/src/main/config/component/fragment.xml	2008-03-13 10:41:16 UTC (rev 7554)
+++ branches/Seam_2_0/ui/src/main/config/component/fragment.xml	2008-03-13 10:42:07 UTC (rev 7555)
@@ -7,8 +7,7 @@
 		<classname>org.jboss.seam.ui.component.html.HtmlFragment</classname>
 		<superclass>org.jboss.seam.ui.component.UIFragment</superclass>
 		<description>
-			<![CDATA[
-    ]]>
+			<![CDATA[Surround a page fragment, allows you to apply render/not render without any html output]]>
 		</description>
 		<renderer generate="false" override="false">
 			<name>org.jboss.seam.ui.FragmentRenderer</name>

Modified: branches/Seam_2_0/ui/src/main/config/component/graphicImage.xml
===================================================================
--- branches/Seam_2_0/ui/src/main/config/component/graphicImage.xml	2008-03-13 10:41:16 UTC (rev 7554)
+++ branches/Seam_2_0/ui/src/main/config/component/graphicImage.xml	2008-03-13 10:42:07 UTC (rev 7555)
@@ -7,7 +7,7 @@
 		<classname>org.jboss.seam.ui.component.html.HtmlGraphicImage</classname>
 		<superclass>org.jboss.seam.ui.graphicImage.UIGraphicImage</superclass>
 		<description>
-			<![CDATA[]]>
+			<![CDATA[Output an image to the view. You can specify the file as a path, a java.io.File, java.io.InputStream, java.net.URL or byte[]]]>
 		</description>
 		<renderer generate="false" override="false">
 			<name>org.jboss.seam.ui.GraphicImageRenderer</name>
@@ -29,7 +29,7 @@
 		<property>
 			<name>fileName</name>
 			<classname>java.lang.String</classname>
-			<description></description>
+			<description>File name for the generated URL - allows a stable file name and thus browser caching</description>
 		</property>
 	</component>
 </components>

Modified: branches/Seam_2_0/ui/src/main/config/component/label.xml
===================================================================
--- branches/Seam_2_0/ui/src/main/config/component/label.xml	2008-03-13 10:41:16 UTC (rev 7554)
+++ branches/Seam_2_0/ui/src/main/config/component/label.xml	2008-03-13 10:42:07 UTC (rev 7555)
@@ -24,7 +24,7 @@
 		<property>
 			<name>for</name>
 			<classname>java.lang.String</classname>
-			<description></description>
+			<description>Id of input component this label is for</description>
 		</property>
 	</component>
 </components>

Modified: branches/Seam_2_0/ui/src/main/config/component/link.xml
===================================================================
--- branches/Seam_2_0/ui/src/main/config/component/link.xml	2008-03-13 10:41:16 UTC (rev 7554)
+++ branches/Seam_2_0/ui/src/main/config/component/link.xml	2008-03-13 10:42:07 UTC (rev 7555)
@@ -54,10 +54,12 @@
 		<property>
 			<name>outcome</name>
 			<classname>java.lang.String</classname>
+            <description>The outcome to use when evaluating navigation rules</description>
 		</property>
 		<property>
 			<name>disabled</name>
 			<classname>boolean</classname>
+            <description>If true, write the link as disabled in HTML</description>
 		</property>
 		<property elonly="true"  transient="true" >
 			<name>taskInstance</name>

Modified: branches/Seam_2_0/ui/src/main/config/component/remote.xml
===================================================================
--- branches/Seam_2_0/ui/src/main/config/component/remote.xml	2008-03-13 10:41:16 UTC (rev 7554)
+++ branches/Seam_2_0/ui/src/main/config/component/remote.xml	2008-03-13 10:42:07 UTC (rev 7555)
@@ -7,7 +7,7 @@
 		<classname>org.jboss.seam.ui.component.html.HtmlRemote</classname>
 		<superclass>org.jboss.seam.ui.component.UIRemote</superclass>
 		<description>
-			<![CDATA[]]>
+			<![CDATA[Write out script element for use with Seam Remoting]]>
 		</description>
 		<renderer generate="false" override="false">
 			<name>org.jboss.seam.ui.RemoteRenderer</name>
@@ -26,7 +26,7 @@
 		<property>
 			<name>include</name>
 			<classname>java.lang.String</classname>
-			<description></description>
+			<description>The Seam components to include in the Seam Remoting JS interface stubs</description>
 		</property>
 	</component>
 </components>

Modified: branches/Seam_2_0/ui/src/main/config/component/selectDate.xml
===================================================================
--- branches/Seam_2_0/ui/src/main/config/component/selectDate.xml	2008-03-13 10:41:16 UTC (rev 7554)
+++ branches/Seam_2_0/ui/src/main/config/component/selectDate.xml	2008-03-13 10:42:07 UTC (rev 7555)
@@ -7,12 +7,11 @@
 		<classname>org.jboss.seam.ui.component.html.HtmlSelectDate</classname>
 		<superclass>org.jboss.seam.ui.component.UISelectDate</superclass>
 		<description>
-			<![CDATA[Deprecated.  You should use <rich:calendar /> instead.]]>
+			<![CDATA[Deprecated. You should use <rich:calendar /> instead.]]>
 		</description>
 		<renderer generate="false" override="false">
 			<name>org.jboss.seam.ui.SelectDateRenderer</name>
 			<classname>org.jboss.seam.ui.renderkit.SelectDateRendererBase</classname>
-			<!--<template>org/jboss/seam/ui/htmlSelectDate.jspx</template>-->
 		</renderer>
 		<tag>
 			<name>selectDate</name>

Modified: branches/Seam_2_0/ui/src/main/config/component/selection.xml
===================================================================
--- branches/Seam_2_0/ui/src/main/config/component/selection.xml	2008-03-13 10:41:16 UTC (rev 7554)
+++ branches/Seam_2_0/ui/src/main/config/component/selection.xml	2008-03-13 10:42:07 UTC (rev 7555)
@@ -7,8 +7,7 @@
 		<classname>org.jboss.seam.ui.component.html.HtmlSelection</classname>
 		<superclass>org.jboss.seam.ui.component.UISelection</superclass>
 		<description>
-			<![CDATA[
-    ]]>
+			<![CDATA[]]>
 		</description>
 		<tag>
 			<name>selection</name>

Modified: branches/Seam_2_0/ui/src/main/config/component/transformImageBlur.xml
===================================================================
--- branches/Seam_2_0/ui/src/main/config/component/transformImageBlur.xml	2008-03-13 10:41:16 UTC (rev 7554)
+++ branches/Seam_2_0/ui/src/main/config/component/transformImageBlur.xml	2008-03-13 10:42:07 UTC (rev 7555)
@@ -7,7 +7,7 @@
 		<classname>org.jboss.seam.ui.component.html.HtmlTransformImageBlur</classname>
 		<superclass>org.jboss.seam.ui.graphicImage.UITransformImageBlur</superclass>
 		<description>
-			<![CDATA[]]>
+			<![CDATA[Nested in a s:graphicImage. Transform an image by applying a blur]]>
 		</description>
 		<tag>
 			<name>transformImageBlur</name>
@@ -20,7 +20,7 @@
 		<property>
 			<name>radius</name>
 			<classname>java.lang.String</classname>
-			<description></description>
+			<description>The radius of the blur (essentially the ammount of blur)</description>
 		</property>
 	</component>
 </components>

Modified: branches/Seam_2_0/ui/src/main/config/component/transformImageSize.xml
===================================================================
--- branches/Seam_2_0/ui/src/main/config/component/transformImageSize.xml	2008-03-13 10:41:16 UTC (rev 7554)
+++ branches/Seam_2_0/ui/src/main/config/component/transformImageSize.xml	2008-03-13 10:42:07 UTC (rev 7555)
@@ -7,7 +7,7 @@
 		<classname>org.jboss.seam.ui.component.html.HtmlTransformImageSize</classname>
 		<superclass>org.jboss.seam.ui.graphicImage.UITransformImageSize</superclass>
 		<description>
-			<![CDATA[]]>
+			<![CDATA[Nested in a s:graphicImage. Transform an image by altering the size]]>
 		</description>
 		<tag>
 			<name>transformImageSize</name>
@@ -20,22 +20,22 @@
 		<property>
 			<name>maintainRatio</name>
 			<classname>boolean</classname>
-			<description></description>
+			<description>If true, don't alter the ratio of the image. In this case only height or width should be specificed.</description>
 		</property>		
 		<property>
 			<name>width</name>
 			<classname>java.lang.Integer</classname>
-			<description></description>
+			<description>The new width of the image</description>
 		</property>  	
    		<property>
    			<name>height</name>
    			<classname>java.lang.Integer</classname>
-   			<description></description>
+   			<description>The new height of the image</description>
    		</property>
    		<property>
    			<name>factor</name>
    			<classname>java.lang.Double</classname>
-   			<description></description>
+   			<description>Change the size of the image by a fraction. If factor is specified, height, width and maintainRatio should not be specified</description>
    		</property>
 	</component>
 </components>

Modified: branches/Seam_2_0/ui/src/main/config/component/transformImageType.xml
===================================================================
--- branches/Seam_2_0/ui/src/main/config/component/transformImageType.xml	2008-03-13 10:41:16 UTC (rev 7554)
+++ branches/Seam_2_0/ui/src/main/config/component/transformImageType.xml	2008-03-13 10:42:07 UTC (rev 7555)
@@ -7,7 +7,7 @@
 		<classname>org.jboss.seam.ui.component.html.HtmlTransformImageType</classname>
 		<superclass>org.jboss.seam.ui.graphicImage.UITransformImageType</superclass>
 		<description>
-			<![CDATA[]]>
+			<![CDATA[Nested in a s:graphicImage. Transform an image by changing it's type]]>
 		</description>
 		<tag>
 			<name>transformImageType</name>
@@ -20,7 +20,7 @@
 		<property>
 			<name>contentType</name>
 			<classname>java.lang.String</classname>
-			<description></description>
+			<description>The mime type of the output image</description>
 		</property>
 	</component>
 </components>




More information about the seam-commits mailing list