You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by oa...@apache.org on 2001/11/21 19:50:22 UTC

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

oalexeev    01/11/21 10:50:22

  Modified:    doc      struts-bean.xml
  Log:
  Add descriptions for format, locale, bundle attributes of WriteTag.
  
  Revision  Changes    Path
  1.6       +65 -0     jakarta-struts/doc/struts-bean.xml
  
  Index: struts-bean.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-struts/doc/struts-bean.xml,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- struts-bean.xml	2001/06/26 05:18:22	1.5
  +++ struts-bean.xml	2001/11/21 18:50:22	1.6
  @@ -966,6 +966,71 @@
         </info>
       </attribute>
   
  +    <attribute>
  +      <name>format</name>
  +      <required>false</required>
  +      <rtexprvalue>true</rtexprvalue>
  +      <info>
  +      <p>Specifies the format string to use to convert bean or property value 
  +      to the <code>String</code>. If nothing specified, then default format 
  +      string for value data type will be searched in message resources by
  +      according key.</p>
  +      <table>
  +       <tr>
  +           <td>Key to search format string</td>
  +           <td>Data types</td>
  +       </tr>
  +       <tr>
  +           <td>org.apache.struts.taglib.bean.format.int</td>
  +           <td>java.lang.Byte, java.lang.Short, java.lang.Integer, java.lang.Long, 
  +               java.math.BigInteger</td>
  +       </tr>
  +       <tr>
  +           <td>org.apache.struts.taglib.bean.format.float</td>
  +           <td>java.lang.Float, java.lang.Double, java.math.BigDecimal</td>
  +       </tr>
  +       <tr>
  +           <td>org.apache.struts.taglib.bean.format.timestamp</td>
  +           <td>java.sql.Timestamp</td>
  +       </tr>
  +       <tr>
  +           <td>org.apache.struts.taglib.bean.format.date</td>
  +           <td>java.sql.Date</td>
  +       </tr>
  +       <tr>
  +           <td>org.apache.struts.taglib.bean.format.time</td>
  +           <td>java.sql.Time</td>
  +       </tr>
  +      </table>
  +      <p>If nothing found, then will be used format string according to current 
  +      value data type and locale (object stored as session scope bean).</p>
  +      </info>
  +    </attribute>
  +
  +    <attribute>
  +      <name>bundle</name>
  +      <required>false</required>
  +      <rtexprvalue>true</rtexprvalue>
  +      <info>
  +      <p>The name of the application scope bean under which the
  +      <code>MessageResources</code> object containing our messages
  +      is stored.  If not specified, the default name (the value of
  +      the <code>Action.MESSAGES_KEY</code> constant string) is used.</p>
  +      </info>
  +    </attribute>
  +
  +    <attribute>
  +      <name>locale</name>
  +      <required>false</required>
  +      <rtexprvalue>true</rtexprvalue>
  +      <info>
  +      <p>The name of the session scope bean under which our currently
  +      selected <code>Locale</code> object is stored.  If not specified,
  +      the default name (the value of the <code>Action.LOCALE_KEY</code>
  +      constant string) is used.</p>
  +      </info>
  +    </attribute>
  +
     </tag>
   
   
  
  
  

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>