Date: 2005-03-03T15:32:27
Editor: NiallPemberton
Wiki: Apache Struts Wiki
Page: StrutsUpgradeNotes11to124
URL: http://wiki.apache.org/struts/StrutsUpgradeNotes11to124
no comment
Change Log:
------------------------------------------------------------------------------
@@ -26,6 +26,7 @@
== validator.xml ==
+
Change the dtd declaration at the top to refer to the dtd for validator 1.1.3
<!DOCTYPE form-validation PUBLIC
@@ -33,7 +34,10 @@
"http://jakarta.apache.org/commons/dtds/validator_1_1_3.dtd">
== validator-rules.xml ==
+
Upgrade to the new version of validator-rules.xml.
+
+'''N.B.''' One of the changes in the new validator-rules.xml is that the
Validation methods' signatures changed from using ActionErrors to
ActionMessages. If you have any ''custom'' validation methods, remember to
change their method signatures to now use ActionMessages.
== struts-config.xml ==
Its not absolutely necessary but you should upgrade to the 1.2 version of the
dtd (Note that as well as the version number changing so has the url to
struts.apache.org).
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]