dgraham 2003/03/12 17:59:40
Modified: doc/userGuide dev_validator.xml
Log:
Added note about requiring a default formset before i18n formsets.
Revision Changes Path
1.24 +7 -2 jakarta-struts/doc/userGuide/dev_validator.xml
Index: dev_validator.xml
===================================================================
RCS file: /home/cvs/jakarta-struts/doc/userGuide/dev_validator.xml,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -r1.23 -r1.24
--- dev_validator.xml 5 Mar 2003 01:15:27 -0000 1.23
+++ dev_validator.xml 13 Mar 2003 01:59:39 -0000 1.24
@@ -71,10 +71,15 @@
correspond with the <code>java.util.Locale</code> class.
If they are not used, the <code>FormSet</code> will be set to the default
locale.
- A <code>FormSet</code> can also have constants associated with it.
- On the same level as a <code>FormSet</code> there can be a global element
+ A <code>FormSet</code> can also have constants associated with it.
+ On the same level as a <code>FormSet</code> there can be a global element
which can also have constants and have validator actions that perform
validations.
+ </p>
+ <p>
+ <strong>Note</strong>: You must declare a default <code>FormSet</code> without
+ internationalization before your internationalized <code>FormSet</code>s. This
+ allows the Validator to fall back to the default version if no locale is found.
</p>
<p>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]