You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by cr...@apache.org on 2001/06/01 20:50:50 UTC

cvs commit: jakarta-struts/doc struts-html.xml

craigmcc    01/06/01 11:50:50

  Modified:    doc      Tag: STRUTS_1_0_BRANCH struts-html.xml
  Log:
  Relax the constraint on what can be in a Map used to add dynamic request
  parameters to the URL created by the <html:img>, <html:link>, and
  <html:rewrite> tags.  Now, the Map values can be:
  * A String
  * A String array (creates multiple values)
  * Some other object, whose toString() method will be called
    to render the value included in the URL.
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.11.2.2  +4 -2      jakarta-struts/doc/struts-html.xml
  
  Index: struts-html.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-struts/doc/struts-html.xml,v
  retrieving revision 1.11.2.1
  retrieving revision 1.11.2.2
  diff -u -r1.11.2.1 -r1.11.2.2
  --- struts-html.xml	2001/05/29 18:03:51	1.11.2.1
  +++ struts-html.xml	2001/06/01 18:50:48	1.11.2.2
  @@ -1707,7 +1707,8 @@
                   to be the names of query parameters to be appended to the
                   <code>src</code> URL.  The value associated with each key
                   must be either a String or a String array representing the
  -                parameter value(s).  If a String array is specified, more than
  +                parameter value(s), or an object whose toString() method
  +                will be called.  If a String array is specified, more than
                   one value for the same query parameter name will be
                   created.</p>
   
  @@ -2172,7 +2173,8 @@
                   <p>As the <code>Map</code> is processed, the keys are assumed
                   to be the names of query parameters to be appended to the
                   hyperlink.  The value associated with each key must be either
  -                a String or a String array representing the parameter value(s).
  +                a String or a String array representing the parameter value(s),
  +                or an object whose toString() method will be called.
                   If a String array is specified, more than one value for the
                   same query parameter name will be created.</p>