Author: husted
Date: Mon Feb 13 18:30:00 2006
New Revision: 377582
URL: http://svn.apache.org/viewcvs?rev=377582&view=rev
Log:
Validator Example Application
* Update for new cancellable property.
Modified:
struts/apps/trunk/examples/src/webapp/WEB-INF/validator/struts-config-bundles.xml
struts/apps/trunk/examples/src/webapp/WEB-INF/validator/struts-config-i18nVariables.xml
struts/apps/trunk/examples/src/webapp/WEB-INF/validator/struts-config-type.xml
struts/apps/trunk/examples/src/webapp/WEB-INF/validator/struts-config-validwhen.xml
struts/apps/trunk/examples/src/webapp/WEB-INF/validator/struts-config.xml
Modified:
struts/apps/trunk/examples/src/webapp/WEB-INF/validator/struts-config-bundles.xml
URL:
http://svn.apache.org/viewcvs/struts/apps/trunk/examples/src/webapp/WEB-INF/validator/struts-config-bundles.xml?rev=377582&r1=377581&r2=377582&view=diff
==============================================================================
---
struts/apps/trunk/examples/src/webapp/WEB-INF/validator/struts-config-bundles.xml
(original)
+++
struts/apps/trunk/examples/src/webapp/WEB-INF/validator/struts-config-bundles.xml
Mon Feb 13 18:30:00 2006
@@ -28,7 +28,8 @@
name="bundlesForm"
scope="request"
parameter="/welcome.do"
- validate="true"
+ validate="true"
+ cancellable="true"
input="input" >
<forward name="input" path="/viewBundleExamples.do" />
</action>
@@ -41,7 +42,8 @@
name="bundlesForm"
scope="request"
parameter="/welcome.do"
- validate="true"
+ validate="true"
+ cancellable="true"
input="input" >
<forward name="input" path="/viewJsBundleExamples.do" />
</action>
Modified:
struts/apps/trunk/examples/src/webapp/WEB-INF/validator/struts-config-i18nVariables.xml
URL:
http://svn.apache.org/viewcvs/struts/apps/trunk/examples/src/webapp/WEB-INF/validator/struts-config-i18nVariables.xml?rev=377582&r1=377581&r2=377582&view=diff
==============================================================================
---
struts/apps/trunk/examples/src/webapp/WEB-INF/validator/struts-config-i18nVariables.xml
(original)
+++
struts/apps/trunk/examples/src/webapp/WEB-INF/validator/struts-config-i18nVariables.xml
Mon Feb 13 18:30:00 2006
@@ -37,7 +37,8 @@
name="i18nForm"
scope="request"
parameter="/welcome.do"
- validate="true"
+ validate="true"
+ cancellable="true"
input="input" >
<forward name="input" path="/viewI18nExample.do" />
</action>
@@ -49,7 +50,8 @@
name="i18nForm"
scope="request"
parameter="/welcome.do"
- validate="true"
+ validate="true"
+ cancellable="true"
input="input" >
<forward name="input" path="/viewJsI18nExample.do" />
</action>
Modified:
struts/apps/trunk/examples/src/webapp/WEB-INF/validator/struts-config-type.xml
URL:
http://svn.apache.org/viewcvs/struts/apps/trunk/examples/src/webapp/WEB-INF/validator/struts-config-type.xml?rev=377582&r1=377581&r2=377582&view=diff
==============================================================================
---
struts/apps/trunk/examples/src/webapp/WEB-INF/validator/struts-config-type.xml
(original)
+++
struts/apps/trunk/examples/src/webapp/WEB-INF/validator/struts-config-type.xml
Mon Feb 13 18:30:00 2006
@@ -32,7 +32,8 @@
type="org.apache.struts.webapp.validator.TypeAction"
name="typeForm"
scope="request"
- validate="true"
+ validate="true"
+ cancellable="true"
input="input">
<forward name="input" path="/type.do" />
<forward name="success" path="/welcome.do" />
@@ -52,7 +53,8 @@
type="org.apache.struts.webapp.validator.TypeAction"
name="jsTypeForm"
scope="request"
- validate="true"
+ validate="true"
+ cancellable="true"
input="/jsType.jsp">
<forward name="success" path="/welcome.do" />
</action>
Modified:
struts/apps/trunk/examples/src/webapp/WEB-INF/validator/struts-config-validwhen.xml
URL:
http://svn.apache.org/viewcvs/struts/apps/trunk/examples/src/webapp/WEB-INF/validator/struts-config-validwhen.xml?rev=377582&r1=377581&r2=377582&view=diff
==============================================================================
---
struts/apps/trunk/examples/src/webapp/WEB-INF/validator/struts-config-validwhen.xml
(original)
+++
struts/apps/trunk/examples/src/webapp/WEB-INF/validator/struts-config-validwhen.xml
Mon Feb 13 18:30:00 2006
@@ -34,7 +34,8 @@
name="validWhenForm"
scope="request"
parameter="/welcome.do"
- validate="true"
+ validate="true"
+ cancellable="true"
input="input" >
<forward name="input" path="/viewValidWhenExamples.do" />
</action>
Modified:
struts/apps/trunk/examples/src/webapp/WEB-INF/validator/struts-config.xml
URL:
http://svn.apache.org/viewcvs/struts/apps/trunk/examples/src/webapp/WEB-INF/validator/struts-config.xml?rev=377582&r1=377581&r2=377582&view=diff
==============================================================================
--- struts/apps/trunk/examples/src/webapp/WEB-INF/validator/struts-config.xml
(original)
+++ struts/apps/trunk/examples/src/webapp/WEB-INF/validator/struts-config.xml
Mon Feb 13 18:30:00 2006
@@ -37,8 +37,9 @@
<action path="/registration-submit"
type="org.apache.struts.webapp.validator.RegistrationAction"
name="registrationForm"
- scope="request"
+ scope="request"
validate="true"
+ cancellable="true"
input="input">
<forward name="input" path="/registration.do" />
<forward name="success" path="/index.jsp" />
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]