You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@struts.apache.org by lu...@apache.org on 2022/04/07 12:23:19 UTC

[struts-site] branch cleanup updated (b8352ec36 -> 78c77a446)

This is an automated email from the ASF dual-hosted git repository.

lukaszlenart pushed a change to branch cleanup
in repository https://gitbox.apache.org/repos/asf/struts-site.git


 discard b8352ec36 Drops unused option
 discard d17fec147 Uses spaces instead tabs
     add 458c35b2f Drops unused option
     add b06c8b121 Enables autodeleting merged branches again
     new 78c77a446 Uses spaces instead tabs

This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version.  This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:

 * -- * -- B -- O -- O -- O   (b8352ec36)
            \
             N -- N -- N   refs/heads/cleanup (78c77a446)

You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.

Any revisions marked "omit" are not gone; other references still
refer to them.  Any revisions marked "discard" are gone forever.

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .asf.yaml | 3 +++
 1 file changed, 3 insertions(+)


[struts-site] 01/01: Uses spaces instead tabs

Posted by lu...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

lukaszlenart pushed a commit to branch cleanup
in repository https://gitbox.apache.org/repos/asf/struts-site.git

commit 78c77a446482251012416ab33e9161560686bbe5
Author: Lukasz Lenart <lu...@apache.org>
AuthorDate: Thu Apr 7 11:37:35 2022 +0200

    Uses spaces instead tabs
---
 source/core-developers/using-field-validators.md | 111 ++++++++++++-----------
 1 file changed, 56 insertions(+), 55 deletions(-)

diff --git a/source/core-developers/using-field-validators.md b/source/core-developers/using-field-validators.md
index b9dc43016..32c2d1e99 100644
--- a/source/core-developers/using-field-validators.md
+++ b/source/core-developers/using-field-validators.md
@@ -150,61 +150,62 @@ public class FieldValidatorsExampleAction extends AbstractValidationActionSuppor
 Create the `validator.xml`.
 
 ```xml
+
 <validators>
-	<field name="requiredValidatorField">
-		<field-validator type="required">
-			<message><![CDATA[ required ]]></message>
-		</field-validator>
-	</field>
-	<field name="requiredStringValidatorField">
-		<field-validator type="requiredstring">
-			<param name="trim">true</param>
-			<message><![CDATA[ required and must be string ]]></message>
-		</field-validator>
-	</field>
-	<field name="integerValidatorField">
-		<field-validator type="int">
-			<param name="min">1</param>
-			<param name="max">10</param>
-			<message><![CDATA[ must be integer min 1 max 10 if supplied ]]></message>
-		</field-validator>
-	</field>
-	<field name="dateValidatorField">
-		<field-validator type="date">
-			<param name="min">01/01/1990</param>
-			<param name="max">01/01/2000</param>
-			<message><![CDATA[ must be a min 01-01-1990 max 01-01-2000 if supplied ]]></message>
-		</field-validator>
-	</field>
-	<field name="emailValidatorField">
-		<field-validator type="email">
-			<message><![CDATA[ must be a valid email if supplied ]]></message>
-		</field-validator>
-	</field>
-	<field name="urlValidatorField">
-		<field-validator type="url">
-			<message><![CDATA[ must be a valid url if supplied ]]></message>
-		</field-validator>
-	</field>
-	<field name="stringLengthValidatorField">
-		<field-validator type="stringlength">
-			<param name="maxLength">4</param>
-			<param name="minLength">2</param>
-			<param name="trim">true</param>
-			<message><![CDATA[ must be a String of a specific greater than 1 less than 5 if specified ]]></message>
-		</field-validator>
-	</field>
-	<field name="regexValidatorField">
-		<field-validator type="regex">
-			<param name="regex"><![CDATA[ [^<>]+ ]]></param>
-			<message><![CDATA[ regexValidatorField must match a regexp (.*.txt) if specified ]]></message>
-		</field-validator>
-	</field>
-	<field name="fieldExpressionValidatorField">
-		<field-validator type="fieldexpression">
-			<param name="expression">(fieldExpressionValidatorField == requiredValidatorField)</param>
-			<message><![CDATA[ must be the same as the Required Validator Field if specified ]]></message>
-		</field-validator>
-	</field>
+    <field name="requiredValidatorField">
+        <field-validator type="required">
+            <message><![CDATA[ required ]]></message>
+        </field-validator>
+    </field>
+    <field name="requiredStringValidatorField">
+        <field-validator type="requiredstring">
+            <param name="trim">true</param>
+            <message><![CDATA[ required and must be string ]]></message>
+        </field-validator>
+    </field>
+    <field name="integerValidatorField">
+        <field-validator type="int">
+            <param name="min">1</param>
+            <param name="max">10</param>
+            <message><![CDATA[ must be integer min 1 max 10 if supplied ]]></message>
+        </field-validator>
+    </field>
+    <field name="dateValidatorField">
+        <field-validator type="date">
+            <param name="min">01/01/1990</param>
+            <param name="max">01/01/2000</param>
+            <message><![CDATA[ must be a min 01-01-1990 max 01-01-2000 if supplied ]]></message>
+        </field-validator>
+    </field>
+    <field name="emailValidatorField">
+        <field-validator type="email">
+            <message><![CDATA[ must be a valid email if supplied ]]></message>
+        </field-validator>
+    </field>
+    <field name="urlValidatorField">
+        <field-validator type="url">
+            <message><![CDATA[ must be a valid url if supplied ]]></message>
+        </field-validator>
+    </field>
+    <field name="stringLengthValidatorField">
+        <field-validator type="stringlength">
+            <param name="maxLength">4</param>
+            <param name="minLength">2</param>
+            <param name="trim">true</param>
+            <message><![CDATA[ must be a String of a specific greater than 1 less than 5 if specified ]]></message>
+        </field-validator>
+    </field>
+    <field name="regexValidatorField">
+        <field-validator type="regex">
+            <param name="regex"><![CDATA[ [^<>]+ ]]></param>
+            <message><![CDATA[ regexValidatorField must match a regexp (.*.txt) if specified ]]></message>
+        </field-validator>
+    </field>
+    <field name="fieldExpressionValidatorField">
+        <field-validator type="fieldexpression">
+            <param name="expression">(fieldExpressionValidatorField == requiredValidatorField)</param>
+            <message><![CDATA[ must be the same as the Required Validator Field if specified ]]></message>
+        </field-validator>
+    </field>
 </validators>
 ```