oalexeev    02/02/21 09:49:02

  Modified:    doc/userGuide struts-bean.xml taglib_struts-bean-ref.xml
  Log:
  Add documentation notes for new bean:define tag abilities.
  
  Revision  Changes    Path
  1.2       +7 -1      jakarta-struts/doc/userGuide/struts-bean.xml
  
  Index: struts-bean.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-struts/doc/userGuide/struts-bean.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- struts-bean.xml   20 Feb 2002 00:41:14 -0000      1.1
  +++ struts-bean.xml   21 Feb 2002 17:49:02 -0000      1.2
  @@ -118,7 +118,7 @@
       </summary>
       <tagclass>org.apache.struts.taglib.bean.DefineTag</tagclass>
       <teiclass>org.apache.struts.taglib.bean.DefineTei</teiclass>
  -    <bodycontent>empty</bodycontent>
  +    <bodycontent>JSP</bodycontent>
       <info>
       <p>Retrieve the value of a specified bean property, and define it
       as an attribute (in the scope specified by the <code>toScope</code>
  @@ -129,6 +129,12 @@
   
       <p>If you specify a "value" attribute, the exposed bean will be of type
       <code>java.lang.String</code> and initialized to the specified value.</p>
  +
  +    <p>If you specify a body, the exposed bean will be of type
  +    <code>java.lang.String</code> and initialized to the body content.</p>
  +
  +    <p>You can not specify a "value" attribute and body simultaneously - 
  +    JspException will be thrown.</p>
   
       <p>If a problem occurs while retrieving the specified bean property, a
       request time exception will be thrown.</p>
  
  
  
  1.2       +7 -1      jakarta-struts/doc/userGuide/taglib_struts-bean-ref.xml
  
  Index: taglib_struts-bean-ref.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-struts/doc/userGuide/taglib_struts-bean-ref.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- taglib_struts-bean-ref.xml        17 Sep 2001 19:57:36 -0000      1.1
  +++ taglib_struts-bean-ref.xml        21 Feb 2002 17:49:02 -0000      1.2
  @@ -119,7 +119,7 @@
       </summary>
       <tagclass>org.apache.struts.taglib.bean.DefineTag</tagclass>
       <teiclass>org.apache.struts.taglib.bean.DefineTei</teiclass>
  -    <bodycontent>empty</bodycontent>
  +    <bodycontent>JSP</bodycontent>
       <info>
       <p>Retrieve the value of a specified bean property, and define it
       as an attribute (in the scope specified by the <code>toScope</code>
  @@ -130,6 +130,12 @@
   
       <p>If you specify a "value" attribute, the exposed bean will be of type
       <code>java.lang.String</code> and initialized to the specified value.</p>
  +
  +    <p>If you specify a body, the exposed bean will be of type
  +    <code>java.lang.String</code> and initialized to the body content.</p>
  +
  +    <p>You can not specify a "value" attribute and body simultaneously - 
  +    JspException will be thrown.</p>
   
       <p>If a problem occurs while retrieving the specified bean property, a
       request time exception will be thrown.</p>
  
  
  

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to