You are viewing a plain text version of this content. The canonical link for it is here.
Posted to taglibs-dev@jakarta.apache.org by ra...@apache.org on 2006/03/09 17:21:36 UTC
svn commit: r384542 - in
/jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc: ./ config/
Author: rahul
Date: Thu Mar 9 08:21:32 2006
New Revision: 384542
URL: http://svn.apache.org/viewcvs?rev=384542&view=rev
Log:
Sync up the validation sections of the configuration and the meta-data files.
Modified:
jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/alpha.rdc
jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/alphanum.rdc
jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/config/mortgageType.xml
jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/country.rdc
jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/creditcardType.rdc
jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/currency.rdc
jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/date.rdc
jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/digits.rdc
jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/duration.rdc
jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/isbn.rdc
jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/mortgageType.rdc
jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/number.rdc
jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/percent.rdc
jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/select1.rdc
jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/ssn.rdc
jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/time.rdc
jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/usMajorCity.rdc
jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/usState.rdc
jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/zipCode.rdc
Modified: jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/alpha.rdc
URL: http://svn.apache.org/viewcvs/jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/alpha.rdc?rev=384542&r1=384541&r2=384542&view=diff
==============================================================================
--- jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/alpha.rdc (original)
+++ jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/alpha.rdc Thu Mar 9 08:21:32 2006
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<ui-config>
<!--
- Copyright 2004 The Apache Software Foundation.
+ Copyright 2004,2006 The Apache Software Foundation.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -159,19 +159,17 @@
</reject>
</confirm>
<validate>
+ <handler errorCode="635463">
+ <prompt>I'm sorry, but there is no default or initial value available. </prompt>
+ </handler>
<handler errorCode="1">
- <prompt>The value you specified, #{model.utterance}, is
- not valid.</prompt>
+ <prompt>The value you specified, #{model.utterance}, is not valid. </prompt>
</handler>
<handler errorCode="2">
- <prompt>That's an invalid value. Please specify a shorter string.</prompt>
+ <prompt>That's an invalid value. Please specify a shorter string. </prompt>
</handler>
<handler errorCode="3">
- <prompt>That's an invalid value. Please specify a longer string.</prompt>
- </handler>
- <handler errorCode="4">
- <prompt>I'm sorry, but there is no default or initial value available.
- </prompt>
+ <prompt>That's an invalid value. Please specify a longer string. </prompt>
</handler>
</validate>
<echo>
Modified: jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/alphanum.rdc
URL: http://svn.apache.org/viewcvs/jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/alphanum.rdc?rev=384542&r1=384541&r2=384542&view=diff
==============================================================================
--- jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/alphanum.rdc (original)
+++ jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/alphanum.rdc Thu Mar 9 08:21:32 2006
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<ui-config>
<!--
- Copyright 2004 The Apache Software Foundation.
+ Copyright 2004,2006 The Apache Software Foundation.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -159,19 +159,17 @@
</reject>
</confirm>
<validate>
+ <handler errorCode="635463">
+ <prompt>I'm sorry, but there is no default or initial value available. </prompt>
+ </handler>
<handler errorCode="1">
- <prompt>The value you specified, #{model.utterance}, is
- not valid.</prompt>
+ <prompt>The value you specified, #{model.utterance}, is not valid. </prompt>
</handler>
<handler errorCode="2">
- <prompt>That's an invalid value. Please specify a shorter string.</prompt>
+ <prompt>That's an invalid value. Please specify a shorter string. </prompt>
</handler>
<handler errorCode="3">
- <prompt>That's an invalid value. Please specify a longer string.</prompt>
- </handler>
- <handler errorCode="4">
- <prompt>I'm sorry, but there is no default or initial value available.
- </prompt>
+ <prompt>That's an invalid value. Please specify a longer string. </prompt>
</handler>
</validate>
<echo>
Modified: jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/config/mortgageType.xml
URL: http://svn.apache.org/viewcvs/jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/config/mortgageType.xml?rev=384542&r1=384541&r2=384542&view=diff
==============================================================================
--- jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/config/mortgageType.xml (original)
+++ jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/config/mortgageType.xml Thu Mar 9 08:21:32 2006
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<config>
<!--
- Copyright 2004 The Apache Software Foundation.
+ Copyright 2004,2006 The Apache Software Foundation.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
@@ -87,18 +87,18 @@
</confirm>
<validate>
<handler errorCode="635463">
- <prompt>The mortgage type you specified, #{model.utterance}, is
- not valid.</prompt>
+ <prompt>There is no default or initial mortgage type supplied.
+ </prompt>
</handler>
<handler errorCode="1">
- <prompt>Please choose a shorter mortgage type.</prompt>
+ <prompt>The mortgage type you specified, #{model.utterance}, is
+ not valid.</prompt>
</handler>
<handler errorCode="2">
- <prompt>Please choose a longer mortgage type.</prompt>
+ <prompt>Please choose a shorter mortgage type.</prompt>
</handler>
<handler errorCode="3">
- <prompt>There is no default or initial mortgage type supplied.
- </prompt>
+ <prompt>Please choose a longer mortgage type.</prompt>
</handler>
</validate>
<echo>
Modified: jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/country.rdc
URL: http://svn.apache.org/viewcvs/jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/country.rdc?rev=384542&r1=384541&r2=384542&view=diff
==============================================================================
--- jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/country.rdc (original)
+++ jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/country.rdc Thu Mar 9 08:21:32 2006
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<ui-config>
<!--
- Copyright 2004 The Apache Software Foundation.
+ Copyright 2004,2006 The Apache Software Foundation.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -148,15 +148,11 @@
</reject>
</confirm>
<validate>
- <handler errorCode="1">
- <prompt>The country you specified, #{model.utterance}, is
- not valid.</prompt>
- </handler>
- <handler errorCode="2">
+ <handler errorCode="635463">
<prompt>I'm sorry, but there is no default or initial value available.
</prompt>
- </handler>
- </validate>
+ </handler>
+ </validate>
<echo>
<property-list>
<property name="universals" value="all"/>
Modified: jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/creditcardType.rdc
URL: http://svn.apache.org/viewcvs/jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/creditcardType.rdc?rev=384542&r1=384541&r2=384542&view=diff
==============================================================================
--- jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/creditcardType.rdc (original)
+++ jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/creditcardType.rdc Thu Mar 9 08:21:32 2006
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<ui-config>
<!--
- Copyright 2004 The Apache Software Foundation.
+ Copyright 2004,2006 The Apache Software Foundation.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -143,11 +143,7 @@
</reject>
</confirm>
<validate>
- <handler errorCode="1">
- <prompt>The credit card type you specified, #{model.utterance}, is
- not valid.</prompt>
- </handler>
- <handler errorCode="2">
+ <handler errorCode="635463">
<prompt>There is no default or initial value supplied.</prompt>
</handler>
</validate>
Modified: jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/currency.rdc
URL: http://svn.apache.org/viewcvs/jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/currency.rdc?rev=384542&r1=384541&r2=384542&view=diff
==============================================================================
--- jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/currency.rdc (original)
+++ jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/currency.rdc Thu Mar 9 08:21:32 2006
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<ui-config>
<!--
- Copyright 2004 The Apache Software Foundation.
+ Copyright 2004,2006 The Apache Software Foundation.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -150,14 +150,14 @@
</reject>
</confirm>
<validate>
+ <handler errorCode="635463">
+ <prompt>There is no default or initial amount supplied. </prompt>
+ </handler>
<handler errorCode="1">
- <prompt>That's an invalid amount. Please specify a lesser amount.</prompt>
+ <prompt>That's an invalid amount. Please specify a lesser amount. </prompt>
</handler>
<handler errorCode="2">
- <prompt>That's an invalid amount. Please specify a greater amount.</prompt>
- </handler>
- <handler errorCode="3">
- <prompt>There is no default or initial amount supplied.</prompt>
+ <prompt>That's an invalid amount. Please specify a greater amount. </prompt>
</handler>
</validate>
<echo>
Modified: jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/date.rdc
URL: http://svn.apache.org/viewcvs/jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/date.rdc?rev=384542&r1=384541&r2=384542&view=diff
==============================================================================
--- jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/date.rdc (original)
+++ jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/date.rdc Thu Mar 9 08:21:32 2006
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<ui-config>
<!--
- Copyright 2004 The Apache Software Foundation.
+ Copyright 2004,2006 The Apache Software Foundation.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -161,19 +161,17 @@
</reject>
</confirm>
<validate>
+ <handler errorCode="635463">
+ <prompt>There is no default or initial date supplied. </prompt>
+ </handler>
<handler errorCode="1">
- <prompt>The date you specified, #{model.utterance}, is
- not valid.</prompt>
+ <prompt>The date you specified, #{model.utterance}, is not valid. </prompt>
</handler>
<handler errorCode="2">
- <prompt>Please choose an earlier date.</prompt>
+ <prompt>Please choose a later date. </prompt>
</handler>
<handler errorCode="3">
- <prompt>Please choose a later date.</prompt>
- </handler>
- <handler errorCode="4">
- <prompt>There is no default or initial date supplied.
- </prompt>
+ <prompt>Please choose an earlier date. </prompt>
</handler>
</validate>
<echo>
Modified: jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/digits.rdc
URL: http://svn.apache.org/viewcvs/jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/digits.rdc?rev=384542&r1=384541&r2=384542&view=diff
==============================================================================
--- jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/digits.rdc (original)
+++ jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/digits.rdc Thu Mar 9 08:21:32 2006
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<ui-config>
<!--
- Copyright 2004 The Apache Software Foundation.
+ Copyright 2004,2006 The Apache Software Foundation.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -149,16 +149,27 @@
</reject>
</confirm>
<validate>
+ <handler errorCode="635463">
+ <prompt>
+ I'm sorry, but there is no default or initial value available.
+ </prompt>
+ </handler>
<handler errorCode="1">
- <prompt>I'm sorry, but there is no default or initial value available.</prompt>
+ <prompt>
+ That is an invalid digit.
+ </prompt>
</handler>
<handler errorCode="2">
- <prompt>Please specify shorter digits</prompt>
+ <prompt>
+ Please specify less digits. I was expecting between
+ #{model.minLength} and #{model.maxLength} digits.
+ </prompt>
</handler>
<handler errorCode="3">
- <prompt>Please specify longer digits</prompt>
- </handler>
- <handler errorCode="4"><prompt>That is an invalid digit.</prompt>
+ <prompt>
+ Please specify more digits. I was expecting between
+ #{model.minLength} and #{model.maxLength} digits.
+ </prompt>
</handler>
</validate>
<echo>
Modified: jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/duration.rdc
URL: http://svn.apache.org/viewcvs/jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/duration.rdc?rev=384542&r1=384541&r2=384542&view=diff
==============================================================================
--- jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/duration.rdc (original)
+++ jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/duration.rdc Thu Mar 9 08:21:32 2006
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<ui-config>
<!--
- Copyright 2004 The Apache Software Foundation.
+ Copyright 2004,2006 The Apache Software Foundation.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -157,18 +157,24 @@
</reject>
</confirm>
<validate>
+ <handler errorCode="635463">
+ <prompt>
+ I'm sorry, but there is no default or initial value available.
+ </prompt>
+ </handler>
<handler errorCode="1">
- <prompt>The duration you specified, #{model.utterance}, is
- not valid.</prompt>
+ <prompt>
+ The duration you specified, #{model.utterance}, is not valid.
+ </prompt>
</handler>
<handler errorCode="2">
- <prompt>Please specify a shorter duration.</prompt>
+ <prompt>
+ Please specify a shorter duration.
+ </prompt>
</handler>
<handler errorCode="3">
- <prompt>Please specify a longer duration..</prompt>
- </handler>
- <handler errorCode="4">
- <prompt>I'm sorry, but there is no default or initial value available.
+ <prompt>
+ Please specify a longer duration.
</prompt>
</handler>
</validate>
Modified: jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/isbn.rdc
URL: http://svn.apache.org/viewcvs/jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/isbn.rdc?rev=384542&r1=384541&r2=384542&view=diff
==============================================================================
--- jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/isbn.rdc (original)
+++ jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/isbn.rdc Thu Mar 9 08:21:32 2006
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<ui-config>
<!--
- Copyright 2004 The Apache Software Foundation.
+ Copyright 2004,2006 The Apache Software Foundation.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -145,16 +145,17 @@
</reject>
</confirm>
<validate>
+ <handler errorCode="635463">
+ <prompt>I'm sorry, but there is no default or initial value
+ available. </prompt>
+ </handler>
<handler errorCode="1">
- <prompt>The international standard book number you specified, #{model.utterance}, is
- not valid.</prompt>
+ <prompt>The international standard book number you specified,
+ #{model.utterance}, is not valid. </prompt>
</handler>
<handler errorCode="2">
- <prompt>The international standard book number you specified is not of correct length.</prompt>
- </handler>
- <handler errorCode="3">
- <prompt>I'm sorry, but there is no default or initial value available.
- </prompt>
+ <prompt>The international standard book number you specified
+ is not of correct length. </prompt>
</handler>
</validate>
<echo>
Modified: jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/mortgageType.rdc
URL: http://svn.apache.org/viewcvs/jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/mortgageType.rdc?rev=384542&r1=384541&r2=384542&view=diff
==============================================================================
--- jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/mortgageType.rdc (original)
+++ jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/mortgageType.rdc Thu Mar 9 08:21:32 2006
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<ui-config>
<!--
- Copyright 2004 The Apache Software Foundation.
+ Copyright 2004,2006 The Apache Software Foundation.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -157,6 +157,10 @@
</reject>
</confirm>
<validate>
+ <handler errorCode="635463">
+ <prompt>There is no default or initial mortgage type supplied.
+ </prompt>
+ </handler>
<handler errorCode="1">
<prompt>The mortgage type you specified, #{model.utterance}, is
not valid.</prompt>
@@ -166,12 +170,8 @@
</handler>
<handler errorCode="3">
<prompt>Please choose a longer mortgage type.</prompt>
- </handler>
- <handler errorCode="4">
- <prompt>There is no default or initial mortgage type supplied.
- </prompt>
- </handler>
- </validate>
+ </handler>
+ </validate>
<echo>
<property-list>
<property name="universals" value="all"/>
Modified: jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/number.rdc
URL: http://svn.apache.org/viewcvs/jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/number.rdc?rev=384542&r1=384541&r2=384542&view=diff
==============================================================================
--- jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/number.rdc (original)
+++ jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/number.rdc Thu Mar 9 08:21:32 2006
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<ui-config>
<!--
- Copyright 2004 The Apache Software Foundation.
+ Copyright 2004,2006 The Apache Software Foundation.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -154,13 +154,13 @@
</reject>
</confirm>
<validate>
- <handler errorCode="1">
+ <handler errorCode="635463">
<prompt>I'm sorry, but there is no default or initial value available. </prompt>
</handler>
- <handler errorCode="2">
+ <handler errorCode="1">
<prompt>That's an invalid value. Please specify a smaller number. </prompt>
</handler>
- <handler errorCode="3">
+ <handler errorCode="2">
<prompt>That's an invalid value. Please specify a larger number.</prompt>
</handler>
</validate>
Modified: jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/percent.rdc
URL: http://svn.apache.org/viewcvs/jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/percent.rdc?rev=384542&r1=384541&r2=384542&view=diff
==============================================================================
--- jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/percent.rdc (original)
+++ jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/percent.rdc Thu Mar 9 08:21:32 2006
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<ui-config>
<!--
- Copyright 2004 The Apache Software Foundation.
+ Copyright 2004,2006 The Apache Software Foundation.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -149,16 +149,25 @@
</reject>
</confirm>
<validate>
+ <handler errorCode="635463">
+ <prompt>
+ I'm sorry, but there is no default or initial value available.
+ </prompt>
+ </handler>
<handler errorCode="1">
- <prompt>I'm sorry, but there is no default or initial value available.</prompt>
+ <prompt>
+ The percentage value entered is invalid.
+ </prompt>
</handler>
<handler errorCode="2">
- <prompt>Please specify a lesser percentage.</prompt>
+ <prompt>
+ Please specify a lesser percentage.
+ </prompt>
</handler>
<handler errorCode="3">
- <prompt>Please specify a greater percentage.</prompt>
- </handler>
- <handler errorCode="4"><prompt>That is an invalid percentage.</prompt>
+ <prompt>
+ Please specify a greater percentage.
+ </prompt>
</handler>
</validate>
<echo>
Modified: jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/select1.rdc
URL: http://svn.apache.org/viewcvs/jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/select1.rdc?rev=384542&r1=384541&r2=384542&view=diff
==============================================================================
--- jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/select1.rdc (original)
+++ jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/select1.rdc Thu Mar 9 08:21:32 2006
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<ui-config>
<!--
- Copyright 2004 The Apache Software Foundation.
+ Copyright 2004,2006 The Apache Software Foundation.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -138,7 +138,7 @@
</reject>
</confirm>
<validate>
- <handler errorCode="1">
+ <handler errorCode="635463">
<prompt>There is no default or initial value available.
</prompt>
</handler>
Modified: jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/ssn.rdc
URL: http://svn.apache.org/viewcvs/jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/ssn.rdc?rev=384542&r1=384541&r2=384542&view=diff
==============================================================================
--- jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/ssn.rdc (original)
+++ jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/ssn.rdc Thu Mar 9 08:21:32 2006
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<ui-config>
<!--
- Copyright 2004 The Apache Software Foundation.
+ Copyright 2004,2006 The Apache Software Foundation.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -144,18 +144,17 @@
</reject>
</confirm>
<validate>
+ <handler errorCode="635463">
+ <prompt>There is no default or initial value available. </prompt>
+ </handler>
<handler errorCode="1">
- <prompt>The social security number you specified, #{model.utterance}, is
- not valid.</prompt>
+ <prompt>The social security number you specified, #{model.utterance},
+ is not valid. </prompt>
</handler>
<handler errorCode="2">
- <prompt>The social security number you specified is not of correct
- length.</prompt>
- </handler>
- <handler errorCode="3">
- <prompt>There is no default or initial value available.
- </prompt>
- </handler>
+ <prompt>The social security number you specified is not of
+ correct length. </prompt>
+ </handler>
</validate>
<echo>
<property-list>
Modified: jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/time.rdc
URL: http://svn.apache.org/viewcvs/jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/time.rdc?rev=384542&r1=384541&r2=384542&view=diff
==============================================================================
--- jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/time.rdc (original)
+++ jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/time.rdc Thu Mar 9 08:21:32 2006
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<ui-config>
<!--
- Copyright 2004 The Apache Software Foundation.
+ Copyright 2004,2006 The Apache Software Foundation.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -151,26 +151,28 @@
<prompt>OK, lets try again.</prompt>
</reject>
</confirm>
- <valitime>
+ <validate>
+ <handler errorCode="635463">
+ <prompt>I'm sorry, but there is no default or initial value
+ available. </prompt>
+ </handler>
<handler errorCode="1">
- <prompt>The time you specified, #{model.utterance}, is
- not valid.</prompt>
+ <prompt>The time you specified, #{model.utterance}, is not
+ valid. </prompt>
</handler>
<handler errorCode="2">
- <prompt>That's an invalid value. Please choose an earlier time.</prompt>
+ <prompt>That's an invalid value. Please choose an earlier
+ time. </prompt>
</handler>
<handler errorCode="3">
- <prompt>That's an invalid value. Please choose a later time.</prompt>
- </handler>
- <handler errorCode="4">
- <prompt>I'm sorry, but there is no default or initial value available.
- </prompt>
- </handler>
+ <prompt>That's an invalid value. Please choose a later
+ time. </prompt>
+ </handler>
<handler errorCode="disambiguate">
- <prompt>The time you specified #{model.utterance} is ambiguous. Please
- choose one of </prompt>
+ <prompt>The time you specified #{model.utterance} is ambiguous.
+ Please choose one of </prompt>
</handler>
- </valitime>
+ </validate>
<echo>
<property-list>
<property name="universals" value="all"/>
Modified: jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/usMajorCity.rdc
URL: http://svn.apache.org/viewcvs/jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/usMajorCity.rdc?rev=384542&r1=384541&r2=384542&view=diff
==============================================================================
--- jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/usMajorCity.rdc (original)
+++ jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/usMajorCity.rdc Thu Mar 9 08:21:32 2006
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<ui-config>
<!--
- Copyright 2004 The Apache Software Foundation.
+ Copyright 2004,2006 The Apache Software Foundation.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -140,12 +140,8 @@
</reject>
</confirm>
<validate>
- <handler errorCode="1">
- <prompt>The US city you specified, #{model.utterance}, is
- not valid.</prompt>
- </handler>
- <handler errorCode="2">
- <prompt>I'm sorry, but there is no default or initial value available.
+ <handler errorCode="635463">
+ <prompt>I'm sorry, but there is no default or initial city available.
</prompt>
</handler>
</validate>
Modified: jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/usState.rdc
URL: http://svn.apache.org/viewcvs/jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/usState.rdc?rev=384542&r1=384541&r2=384542&view=diff
==============================================================================
--- jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/usState.rdc (original)
+++ jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/usState.rdc Thu Mar 9 08:21:32 2006
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<ui-config>
<!--
- Copyright 2004 The Apache Software Foundation.
+ Copyright 2004,2006 The Apache Software Foundation.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -140,12 +140,8 @@
</reject>
</confirm>
<validate>
- <handler errorCode="1">
- <prompt>The US state you specified, #{model.utterance}, is
- not valid.</prompt>
- </handler>
- <handler errorCode="2">
- <prompt>I'm sorry, but there is no default or initial value available.
+ <handler errorCode="635463">
+ <prompt>I'm sorry, but there is no default or initial state available.
</prompt>
</handler>
</validate>
Modified: jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/zipCode.rdc
URL: http://svn.apache.org/viewcvs/jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/zipCode.rdc?rev=384542&r1=384541&r2=384542&view=diff
==============================================================================
--- jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/zipCode.rdc (original)
+++ jakarta/taglibs/proper/rdc/trunk/src/META-INF/tags/rdc/zipCode.rdc Thu Mar 9 08:21:32 2006
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<ui-config>
<!--
- Copyright 2004 The Apache Software Foundation.
+ Copyright 2004,2006 The Apache Software Foundation.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
@@ -147,17 +147,17 @@
</reject>
</confirm>
<validate>
+ <handler errorCode="635463">
+ <prompt>I'm sorry, but there is no default or initial
+ zip code available. </prompt>
+ </handler>
<handler errorCode="1">
- <prompt>The zip code you specified, #{model.utterance}, is
- not valid.</prompt>
+ <prompt>The zip code you specified, #{model.utterance},
+ is not valid. </prompt>
</handler>
<handler errorCode="2">
- <prompt>The zipcode you specified is not of correct
- length.</prompt>
- </handler>
- <handler errorCode="3">
- <prompt>I'm sorry, but there is no default or
- initial value available. </prompt>
+ <prompt>The zipcode you specified is not of correct
+ length. </prompt>
</handler>
</validate>
<echo>
---------------------------------------------------------------------
To unsubscribe, e-mail: taglibs-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: taglibs-dev-help@jakarta.apache.org