mschachter    01/10/15 10:33:34

  Modified:    doc      struts-html.xml
  Log:
   - change docs for bug #4170
  
  Revision  Changes    Path
  1.24      +30 -21    jakarta-struts/doc/struts-html.xml
  
  Index: struts-html.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-struts/doc/struts-html.xml,v
  retrieving revision 1.23
  retrieving revision 1.24
  diff -u -r1.23 -r1.24
  --- struts-html.xml   2001/10/05 05:07:47     1.23
  +++ struts-html.xml   2001/10/15 17:33:34     1.24
  @@ -103,7 +103,7 @@
               <rtexprvalue>true</rtexprvalue>
               <info>
                   Valid only inside of logic:iterate tag.
  -                If yes then name of the html tag will be rendered as 
  +                If yes then name of the html tag will be rendered as
                   "propertyName[34]". Number in brackets will be generated
                   for every iteration and taken from ancestor logic:iterate tag.
               </info>
  @@ -586,7 +586,7 @@
               <rtexprvalue>true</rtexprvalue>
               <info>
                   Valid only inside of logic:iterate tag.
  -                If yes then name of the html tag will be rendered as 
  +                If yes then name of the html tag will be rendered as
                   "id[34].propertyName". Number in brackets will be generated
                   for every iteration and taken from ancestor logic:iterate tag.
               </info>
  @@ -881,7 +881,16 @@
                   the specified value or the specified property of the bean
                   associated with our current form. This tag is only valid when
                   nested inside a form tag body.
  +                In order for a form with a file to work, you need to set the
  +                form's "enctype" attribute to "multipart/form-data".
               </p>
  +            <p>
  +                <pre>
  +                &lt;html:form enctype="multipart/form-data"&gt;
  +                    &lt;html:file property="theFile" /&gt;
  +                &lt;/html:form&gt;
  +                </pre>
  +            </p>
           </info>
   
           <attribute>
  @@ -922,7 +931,7 @@
               <rtexprvalue>true</rtexprvalue>
               <info>
                   Valid only inside of logic:iterate tag.
  -                If yes then name of the html tag will be rendered as 
  +                If yes then name of the html tag will be rendered as
                   "id[34].propertyName". Number in brackets will be generated
                   for every iteration and taken from ancestor logic:iterate tag.
               </info>
  @@ -1354,7 +1363,7 @@
               <rtexprvalue>true</rtexprvalue>
               <info>
                   Valid only inside of logic:iterate tag.
  -                If yes then name of the html tag will be rendered as 
  +                If yes then name of the html tag will be rendered as
                   "id[34].propertyName". Number in brackets will be generated
                   for every iteration and taken from ancestor logic:iterate tag.
               </info>
  @@ -1527,7 +1536,7 @@
               <rtexprvalue>true</rtexprvalue>
               <info>
                   Valid only inside of logic:iterate tag.
  -                If yes then name of the html tag will be rendered as 
  +                If yes then name of the html tag will be rendered as
                   "id[34].propertyName". Number in brackets will be generated
                   for every iteration and taken from ancestor logic:iterate tag.
               </info>
  @@ -2315,7 +2324,7 @@
               <rtexprvalue>true</rtexprvalue>
               <info>
                   Valid only inside of logic:iterate tag.
  -                If yes then indexed parameter with name from indexId attribute 
  +                If yes then indexed parameter with name from indexId attribute
                   will be added to the query string. Indexed parameter looks like
                   "index[32]". Number in brackets will be generated
                   for every iteration and taken from ancestor logic:iterate tag.
  @@ -2327,7 +2336,7 @@
               <required>false</required>
               <rtexprvalue>true</rtexprvalue>
               <info>
  -                By this attribute different name for the indexed parameter can be 
  +                By this attribute different name for the indexed parameter can be
                   specified. Take a look to the "indexed" attribute for details.
               </info>
           </attribute>
  @@ -2652,7 +2661,7 @@
                   <info>
                   <p>Displays a set of messages prepared by a business
                   logic component and stored as an <code>ActionMessages</code>
  -                object, <code>ActionErrors</code> object, a String, 
  +                object, <code>ActionErrors</code> object, a String,
                   or a String array in request scope.  If
                   such a bean is not found, nothing will be rendered.</p>
   
  @@ -2721,7 +2730,7 @@
                     <required>false</required>
                     <rtexprvalue>true</rtexprvalue>
                     <info>
  -                  This value is an optional message resource key that will 
  +                  This value is an optional message resource key that will
                     be printed before the iteration of messages begins.
                     </info>
                   </attribute>
  @@ -2731,7 +2740,7 @@
                     <required>false</required>
                     <rtexprvalue>true</rtexprvalue>
                     <info>
  -                  This value is an optional message resource key that will 
  +                  This value is an optional message resource key that will
                     be printed after the iteration of messages has finished.
                     </info>
                   </attribute>
  @@ -2741,11 +2750,11 @@
                     <required>false</required>
                     <rtexprvalue>true</rtexprvalue>
                     <info>
  -                  By default the tag will retrieve the request scope bean it will 
  -                  iterate over from the <code>Action.ERROR_KEY</code> constant 
string, 
  -                  but if this attribute is set to 'true' the request scope bean 
  -                  will be retrieved from the <code>Action.MESSAGE_KEY</code> 
  -                  constant string.  Also if this is set to 'true', any value 
  +                  By default the tag will retrieve the request scope bean it will
  +                  iterate over from the <code>Action.ERROR_KEY</code> constant 
string,
  +                  but if this attribute is set to 'true' the request scope bean
  +                  will be retrieved from the <code>Action.MESSAGE_KEY</code>
  +                  constant string.  Also if this is set to 'true', any value
                     assigned to the name attribute will be ignored.
                     </info>
                   </attribute>
  @@ -3307,7 +3316,7 @@
               <rtexprvalue>true</rtexprvalue>
               <info>
                   Valid only inside of logic:iterate tag.
  -                If yes then name of the html tag will be rendered as 
  +                If yes then name of the html tag will be rendered as
                   "id[34].propertyName". Number in brackets will be generated
                   for every iteration and taken from ancestor logic:iterate tag.
               </info>
  @@ -3600,7 +3609,7 @@
               <rtexprvalue>true</rtexprvalue>
               <info>
                   Valid only inside of logic:iterate tag.
  -                If yes then name of the html tag will be rendered as 
  +                If yes then name of the html tag will be rendered as
                   "id[34].propertyName". Number in brackets will be generated
                   for every iteration and taken from ancestor logic:iterate tag.
               </info>
  @@ -4221,7 +4230,7 @@
               <rtexprvalue>true</rtexprvalue>
               <info>
                   Valid only inside of logic:iterate tag.
  -                If yes then name of the html tag will be rendered as 
  +                If yes then name of the html tag will be rendered as
                   "id[34].propertyName". Number in brackets will be generated
                   for every iteration and taken from ancestor logic:iterate tag.
               </info>
  @@ -4485,7 +4494,7 @@
               <rtexprvalue>true</rtexprvalue>
               <info>
                   Valid only inside of logic:iterate tag.
  -                If yes then name of the html tag will be rendered as 
  +                If yes then name of the html tag will be rendered as
                   "propertyName[34]". Number in brackets will be generated
                   for every iteration and taken from ancestor logic:iterate tag.
               </info>
  @@ -4716,7 +4725,7 @@
               <rtexprvalue>true</rtexprvalue>
               <info>
                   Valid only inside of logic:iterate tag.
  -                If yes then name of the html tag will be rendered as 
  +                If yes then name of the html tag will be rendered as
                   "id[34].propertyName". Number in brackets will be generated
                   for every iteration and taken from ancestor logic:iterate tag.
               </info>
  @@ -4998,7 +5007,7 @@
               <rtexprvalue>true</rtexprvalue>
               <info>
                   Valid only inside of logic:iterate tag.
  -                If yes then name of the html tag will be rendered as 
  +                If yes then name of the html tag will be rendered as
                   "id[34].propertyName". Number in brackets will be generated
                   for every iteration and taken from ancestor logic:iterate tag.
               </info>
  
  
  


Reply via email to