incubator-adffaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mat...@apache.org
Subject svn commit: r468570 - in /incubator/adffaces/trunk/trinidad/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/validators/trinidad: DoubleRange.xml Length.xml LongRange.xml
Date Fri, 27 Oct 2006 22:36:17 GMT
Author: matzew
Date: Fri Oct 27 15:36:17 2006
New Revision: 468570

URL: http://svn.apache.org/viewvc?view=rev&rev=468570
Log:
changed doc for tags.

Modified:
    incubator/adffaces/trunk/trinidad/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/validators/trinidad/DoubleRange.xml
    incubator/adffaces/trunk/trinidad/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/validators/trinidad/Length.xml
    incubator/adffaces/trunk/trinidad/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/validators/trinidad/LongRange.xml

Modified: incubator/adffaces/trunk/trinidad/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/validators/trinidad/DoubleRange.xml
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/validators/trinidad/DoubleRange.xml?view=diff&rev=468570&r1=468569&r2=468570
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/validators/trinidad/DoubleRange.xml
(original)
+++ incubator/adffaces/trunk/trinidad/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/validators/trinidad/DoubleRange.xml
Fri Oct 27 15:36:17 2006
@@ -58,7 +58,7 @@
              {1} value entered by the user
             </li>
             <li>
-             {2} the maximum allowed date
+             {2} the maximum allowed value
             </li>
            </ul>
           </p>]]>
@@ -89,7 +89,7 @@
              {1} value entered by the user
             </li>
             <li>
-             {2} the minimum allowed date
+             {2} the minimum allowed value
             </li>
            </ul>
           </p>]]>
@@ -121,10 +121,10 @@
              {1} value entered by the user
             </li>
             <li>
-             {2} the minimum allowed date
+             {2} the minimum allowed value
             </li>
             <li>
-             {3} the maximum allowed date
+             {3} the maximum allowed value
             </li>
            </ul>
           </p>]]>
@@ -142,25 +142,13 @@
       <mfp:tag-class>org.apache.myfaces.trinidadinternal.taglib.validator.ValidateDoubleRangeTag</mfp:tag-class>
       <mfp:long-description><![CDATA[<html:p>
 
-        Validate that the date entered is within a given range.
+        Validate that the value entered is within a given range.
 </html:p>]]></mfp:long-description>
       <mfp:example>
-        <mfp:source-code><![CDATA[<tr:inputDate id="mdf3" value="#{date.date3}"
+        <mfp:source-code><![CDATA[<tr:inputText id="mdf3" value="#{bean.value}"
                                label="max validator">
-  <tr:validateDoubleRange maximum="#{date.maxDate}"/>
-</tr:inputDate>
-
-<tr:inputDate id="mdf3" value="2004-11-25"
-                                tip="min=2004-11-16  max=2004-12-16"
-                                label="Submission period">
-  <tr:convertDateTime pattern="yyyy-MM-dd"/>
-
-  <!-- Supports ISO date format strings of the form "yyyy-MM-dd" -->
-  <tr:validateDoubleRange
-       minimum="2004-11-16"
-       maximum="2004-12-16"
-       notInRangeMessageDetail="Date &quot;{1}&quot; does not fall within the range
{2} : {3}"/>
-</tr:inputDate>]]>
+  <tr:validateDoubleRange maximum="#{bean.maxValue}"/>
+</tr:inputText>]]>
         </mfp:source-code>
       </mfp:example>
       <mfp:author>Matthias Wessendorf</mfp:author>

Modified: incubator/adffaces/trunk/trinidad/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/validators/trinidad/Length.xml
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/validators/trinidad/Length.xml?view=diff&rev=468570&r1=468569&r2=468570
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/validators/trinidad/Length.xml
(original)
+++ incubator/adffaces/trunk/trinidad/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/validators/trinidad/Length.xml
Fri Oct 27 15:36:17 2006
@@ -58,7 +58,7 @@
              {1} value entered by the user
             </li>
             <li>
-             {2} the maximum allowed date
+             {2} the maximum allowed value
             </li>
            </ul>
           </p>]]>
@@ -89,7 +89,7 @@
              {1} value entered by the user
             </li>
             <li>
-             {2} the minimum allowed date
+             {2} the minimum allowed value
             </li>
            </ul>
           </p>]]>
@@ -121,10 +121,10 @@
              {1} value entered by the user
             </li>
             <li>
-             {2} the minimum allowed date
+             {2} the minimum allowed value
             </li>
             <li>
-             {3} the maximum allowed date
+             {3} the maximum allowed value
             </li>
            </ul>
           </p>]]>
@@ -142,25 +142,13 @@
       <mfp:tag-class>org.apache.myfaces.trinidadinternal.taglib.validator.ValidateLengthTag</mfp:tag-class>
       <mfp:long-description><![CDATA[<html:p>
 
-        Validate that the date entered is within a given range.
+        Validate that the value entered is within a given length.
 </html:p>]]></mfp:long-description>
       <mfp:example>
-        <mfp:source-code><![CDATA[<tr:inputDate id="mdf3" value="#{date.date3}"
-                               label="max validator">
-  <tr:validateLength maximum="#{date.maxDate}"/>
-</tr:inputDate>
-
-<tr:inputDate id="mdf3" value="2004-11-25"
-                                tip="min=2004-11-16  max=2004-12-16"
-                                label="Submission period">
-  <tr:convertDateTime pattern="yyyy-MM-dd"/>
-
-  <!-- Supports ISO date format strings of the form "yyyy-MM-dd" -->
-  <tr:validateLength
-       minimum="2004-11-16"
-       maximum="2004-12-16"
-       notInRangeMessageDetail="Date &quot;{1}&quot; does not fall within the range
{2} : {3}"/>
-</tr:inputDate>]]>
+        <mfp:source-code><![CDATA[<tr:inputText id="mdf3" value="#{bean.value}"
+                               label="max length">
+  <tr:validateLength maximum="#{bean.maxValue}"/>
+</tr:inputText>]]>
         </mfp:source-code>
       </mfp:example>
       <mfp:author>Matthias Wessendorf</mfp:author>

Modified: incubator/adffaces/trunk/trinidad/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/validators/trinidad/LongRange.xml
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/validators/trinidad/LongRange.xml?view=diff&rev=468570&r1=468569&r2=468570
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/validators/trinidad/LongRange.xml
(original)
+++ incubator/adffaces/trunk/trinidad/trinidad-build/src/main/resources/META-INF/maven-faces-plugin/validators/trinidad/LongRange.xml
Fri Oct 27 15:36:17 2006
@@ -58,7 +58,7 @@
              {1} value entered by the user
             </li>
             <li>
-             {2} the maximum allowed date
+             {2} the maximum allowed value
             </li>
            </ul>
           </p>]]>
@@ -89,7 +89,7 @@
              {1} value entered by the user
             </li>
             <li>
-             {2} the minimum allowed date
+             {2} the minimum allowed value
             </li>
            </ul>
           </p>]]>
@@ -121,10 +121,10 @@
              {1} value entered by the user
             </li>
             <li>
-             {2} the minimum allowed date
+             {2} the minimum allowed value
             </li>
             <li>
-             {3} the maximum allowed date
+             {3} the maximum allowed value
             </li>
            </ul>
           </p>]]>
@@ -142,25 +142,13 @@
       <mfp:tag-class>org.apache.myfaces.trinidadinternal.taglib.validator.ValidateLongRangeTag</mfp:tag-class>
       <mfp:long-description><![CDATA[<html:p>
 
-        Validate that the date entered is within a given range.
+        Validate that the value entered is within a given range.
 </html:p>]]></mfp:long-description>
       <mfp:example>
-        <mfp:source-code><![CDATA[<tr:inputDate id="mdf3" value="#{date.date3}"
+        <mfp:source-code><![CDATA[<tr:inputText id="mdf3" value="#{bean.value}"
                                label="max validator">
-  <tr:validateLongRange maximum="#{date.maxDate}"/>
-</tr:inputDate>
-
-<tr:inputDate id="mdf3" value="2004-11-25"
-                                tip="min=2004-11-16  max=2004-12-16"
-                                label="Submission period">
-  <tr:convertDateTime pattern="yyyy-MM-dd"/>
-
-  <!-- Supports ISO date format strings of the form "yyyy-MM-dd" -->
-  <tr:validateLongRange
-       minimum="2004-11-16"
-       maximum="2004-12-16"
-       notInRangeMessageDetail="Date &quot;{1}&quot; does not fall within the range
{2} : {3}"/>
-</tr:inputDate>]]>
+  <tr:validateLongRange maximum="#{bean.maxValue}"/>
+</tr:inputText>]]>
         </mfp:source-code>
       </mfp:example>
       <mfp:author>Matthias Wessendorf</mfp:author>



Mime
View raw message