dwinterfeldt    01/10/18 22:06:30

  Modified:    contrib/validator/docs index.html revision.html
                        todolist.html
  Log:
  Added revision info and updated to do list.
  
  Revision  Changes    Path
  1.3       +15 -22    jakarta-struts/contrib/validator/docs/index.html
  
  Index: index.html
  ===================================================================
  RCS file: /home/cvs/jakarta-struts/contrib/validator/docs/index.html,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- index.html        2001/09/25 18:27:50     1.2
  +++ index.html        2001/10/19 05:06:30     1.3
  @@ -75,30 +75,23 @@
          </p>
          <BR>
          <p>
  -          <font size=-1>Update 9/25/2001 (using Struts 9/25/2001 source)</font><BR>
  +          <font size=-1>Update 10/18/2001 (using Struts 10/18/2001 
source)</font><BR>
             <ul>
  -                <li>Upgraded to commons packages for Bean Utils, Collections, and 
the Digester.</li>
  -                <li>Modified build.xml and build.properties.</li>
  -                <li>A jsFunctionName attribute was added to the validator element 
so you could specify 
  -                    a function/object name to be used when the 
JavascriptValidatorTag generates the 
  -                    dynamic JavaScript.  Netscape seemed to assume validators like 
float were keywords.  
  -                    If another function/object name was used, everything worked 
fine in Netscape.
  +             <li>The last change that added indexed properties broke all locales 
except for 
  +                 the default locale.  The Field wasn't processed yet when the 
locale field 
  +                 genration occurred and was returning a null key value.
  +             </li>
  +                <li>Added a check so JavascriptValidatorTag won't generate indexed 
properties.</li>
  +                <li>Changed Javascript to validate for a type of 'select-one' 
instead of 'select'.  
  +                    Javascript returns 'select-one' for a field's type value.
                   </li>
  -                <li>Basic indexed validation capablities have been added for use 
with 'indexed="true"' 
  -                    capablilities of the html form tags.<br>
  -                    <br>
  -                    I haven't had time to add this to an example, but below is a 
sample usage.<br>
  -                    <br>
  -                    &nbsp;&nbsp;&nbsp; &lt;logic:iterate id="listElement" 
name="registrationForm" property="listElementList" indexId="index"&gt;<br>
  -                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  &lt;html:textarea 
indexed="true" name="listElement" property="value" cols="60" 
rows="8"/&gt;&lt;br&gt;<br>
  -                    &nbsp;&nbsp;&nbsp; &lt;/logic:iterate&gt;<br>
  -                    <br>
  -                    &nbsp;&nbsp;&nbsp; &lt;field property="value"<br>
  -                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
indexedProperty="listElement"<br>
  -                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
indexedListProperty="listElementList"<br>
  -                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
depends="required"&gt;<br>
  -                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;arg0 
key="registrationForm.paragraph.displayname"/&gt;<br>
  -                    &nbsp;&nbsp;&nbsp; &lt;/field&gt;
  +                <li>Added min and max functions.</li>
  +                <li>Removed code from Validator retrieving the value to be 
validated.  It wasn't being used and 
  +                    this way as long as you specify a unique name for a field a 
custom validator that isn't specifically 
  +                    tied to a field won't generate an error in the logs.
  +                </li>
  +                <li>The web apps were changed to use html:messages and 
logic:messagesPresent 
  +                    for error messages.
                   </li>
             </ul>
          </p>
  
  
  
  1.4       +9 -1      jakarta-struts/contrib/validator/docs/revision.html
  
  Index: revision.html
  ===================================================================
  RCS file: /home/cvs/jakarta-struts/contrib/validator/docs/revision.html,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- revision.html     2001/10/17 20:16:56     1.3
  +++ revision.html     2001/10/19 05:06:30     1.4
  @@ -50,8 +50,13 @@
          <!-- Body -->
          <td valign="top">
             <H2>Revision Info</H2>
  -        <font size=-1>Update</font><BR>
  +        <font size=-1>Update 10/18/2001 (using Struts 10/18/2001 source)</font><BR>
           <ul>
  +           <li>The last change that added indexed properties broke all locales 
except for 
  +               the default locale.  The Field wasn't processed yet when the locale 
field 
  +               genration occurred and was returning a null key value.
  +           </li>
  +              <li>Added a check so JavascriptValidatorTag won't generate indexed 
properties.</li>
                 <li>Changed Javascript to validate for a type of 'select-one' instead 
of 'select'.  
                     Javascript returns 'select-one' for a field's type value.
                 </li>
  @@ -59,6 +64,9 @@
                 <li>Removed code from Validator retrieving the value to be validated. 
 It wasn't being used and 
                     this way as long as you specify a unique name for a field a 
custom validator that isn't specifically 
                     tied to a field won't generate an error in the logs.
  +              </li>
  +              <li>The web apps were changed to use html:messages and 
logic:messagesPresent 
  +                  for error messages.
                 </li>
           </ul>
           <font size=-1>Update 9/25/2001 (using Struts 9/25/2001 source)</font><BR>
  
  
  
  1.3       +1 -1      jakarta-struts/contrib/validator/docs/todolist.html
  
  Index: todolist.html
  ===================================================================
  RCS file: /home/cvs/jakarta-struts/contrib/validator/docs/todolist.html,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- todolist.html     2001/09/25 18:27:50     1.2
  +++ todolist.html     2001/10/19 05:06:30     1.3
  @@ -65,8 +65,8 @@
                <li>Make Blank WAR to jumpstart developement.</li>
                <li>Finish JavaScript i18n version for date validation.</li>
                <li>Make more unit tests and move test source to src/test.</li>
  -             <li>Make a min and max length validator.</li>
                <li>Document ValidatorActionForm in the overview.</li>
  +             <li>Have a way for indexed properties to work with 
JavascriptValidatorTag.</li>
                <!-- <li>Class caching in the ValidatorAction is redundant since the 
class loader does this.</li> -->
                <!-- <li>Re-check thread safety of ValidationResources</li> -->
             </ul>
  
  
  


Reply via email to