You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@turbine.apache.org by jm...@apache.org on 2001/09/19 01:01:07 UTC
cvs commit: jakarta-turbine-2/xdocs/services intake-service.xml
jmcnally 01/09/18 16:01:07
Modified: xdocs/services intake-service.xml
Log:
update to show correct syntax for rules.
Revision Changes Path
1.4 +16 -16 jakarta-turbine-2/xdocs/services/intake-service.xml
Index: intake-service.xml
===================================================================
RCS file: /home/cvs/jakarta-turbine-2/xdocs/services/intake-service.xml,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- intake-service.xml 2001/08/24 19:11:07 1.3
+++ intake-service.xml 2001/09/18 23:01:07 1.4
@@ -126,18 +126,18 @@
<group name="AttributeValue" key="attv"
mapToObject="om.AttributeValue">
<field name="Value" key="val" type="String">
- <rule maxLength="255">Value length cannot be > 255</rule>
+ <rule name="maxLength" value="255">Value length cannot be > 255</rule>
<required-message>This module requires data for this
attribute.
</required-message>
</field>
<field name="Url" key="url" type="String" mapToProperty="Value">
- <rule maxLength="255">Url length cannot be > 255</rule>
- <rule mask="^$|http.+">Please enter an url starting with "http"</rule>
+ <rule name="maxLength" value="255">Url length cannot be > 255</rule>
+ <rule name="mask" value="^$|http.+">Please enter an url starting with "http"</rule>
<required-message>This module requires a valid url.</required-message>
</field>
<field name="OptionId" key="optionid" type="NumberKey">
- <rule mask="^$|[0-9]+">Please select a valid choice</rule>
+ <rule name="mask" value="^$|[0-9]+">Please select a valid choice</rule>
<required-message>This module requires that you select an option
for this attribute.
</required-message>
@@ -146,11 +146,11 @@
<group name="Login" key="login">
<field name="Username" key="u" type="String">
- <rule minLength="1">Please enter an email address</rule>
- <rule mask=".+@.+\..+">Please enter a valid email address</rule>
+ <rule name="minLength" value="1">Please enter an email address</rule>
+ <rule name="mask" value=".+@.+\..+">Please enter a valid email address</rule>
</field>
<field name="Password" key="p" type="String">
- <rule minLength="1">Please enter a password</rule>
+ <rule name="minLength" value="1">Please enter a password</rule>
</field>
</group>
@@ -212,11 +212,11 @@
<source><![CDATA[
<field name="Username" key="u" type="String">
- <rule minLength="1">Please enter an email address</rule>
- <rule mask=".+@.+\..+">Please enter a valid email address</rule>
+ <rule name="minLength" value="1">Please enter an email address</rule>
+ <rule name="mask" value=".+@.+\..+">Please enter a valid email address</rule>
</field>
<field name="Password" key="p" type="String">
- <rule minLength="1">Please enter a password</rule>
+ <rule name="minLength" value="1">Please enter a password</rule>
</field>
]]></source>
@@ -493,14 +493,14 @@
<source><![CDATA[
<field name="Value" key="val" type="String">
- <rule maxLength="255">Value length cannot be > 255</rule>
+ <rule name="maxLength" value="255">Value length cannot be > 255</rule>
<required-message>This module requires data for this
attribute.
</required-message>
</field>
<field name="Url" key="url" type="String" mapToProperty="Value">
- <rule maxLength="255">Url length cannot be > 255</rule>
- <rule mask="^$|http.+">Please enter an url starting with "http"</rule>
+ <rule name="maxLength" value="255">Url length cannot be > 255</rule>
+ <rule name="mask" value="^$|http.+">Please enter an url starting with "http"</rule>
<required-message>This module requires a valid url.</required-message>
</field>
]]></source>
@@ -612,14 +612,14 @@
<source><![CDATA[
<field name="Value" key="val" type="String">
- <rule maxLength="255">Value length cannot be > 255</rule>
+ <rule name="maxLength" value="255">Value length cannot be > 255</rule>
<required-message>This module requires data for this
attribute.
</required-message>
</field>
<field name="Url" key="url" type="String" mapToProperty="Value">
- <rule maxLength="255">Url length cannot be > 255</rule>
- <rule mask="^$|http.+">Please enter an url starting with "http"</rule>
+ <rule name="maxLength" value="255">Url length cannot be > 255</rule>
+ <rule name="mask" value="^$|http.+">Please enter an url starting with "http"</rule>
<required-message>This module requires a valid url.</required-message>
</field>
]]></source>
---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-dev-help@jakarta.apache.org