jakarta-taglibs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From catl...@apache.org
Subject cvs commit: jakarta-taglibs/mailer/xml mailer.xml
Date Tue, 11 Nov 2003 05:32:11 GMT
catlett     2003/11/10 21:32:11

  Modified:    mailer/xml mailer.xml
  Log:
  UserTag and PasswordTag added to documentation
  
  Revision  Changes    Path
  1.11      +92 -3     jakarta-taglibs/mailer/xml/mailer.xml
  
  Index: mailer.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-taglibs/mailer/xml/mailer.xml,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- mailer.xml	6 Dec 2002 13:16:02 -0000	1.10
  +++ mailer.xml	11 Nov 2003 05:32:11 -0000	1.11
  @@ -184,6 +184,17 @@
         </attribute>
   
         <attribute>
  +        <name>port</name>
  +        <required>no</required>
  +        <rtexprvalue>yes</rtexprvalue>
  +        <description>
  +	    This attribute allows you to set the port used on the SMTP host if it
  +	    is going to be other than the default of 25.
  +	</description>
  +        <availability>1.0</availability>
  +      </attribute>
  +
  +      <attribute>
           <name>session</name>
           <required>no</required>
           <rtexprvalue>no</rtexprvalue>
  @@ -315,7 +326,7 @@
             </comment>
             <code>
   <![CDATA[ 
  -<mt:mail to="foo@home.net" from="bar@home.net"subject="mail taglib">
  +<mt:mail to="foo@home.net" from="bar@home.net" subject="mail taglib">
        <mt:message>[body of message]</mt:message>
        <mt:send/> 
   </mt:mail> 
  @@ -352,7 +363,7 @@
             </comment>
             <code>   
   <![CDATA[      
  -<mt:mail to="foo@home.net" from="bar@home.net"subject="mail taglib">
  +<mt:mail to="foo@home.net" from="bar@home.net" subject="mail taglib">
        <mt:server>some.mailserver.com</mt:server>
        <mt:message>[body of message]</mt:message>
        <mt:send/> 
  @@ -432,7 +443,85 @@
   
       </tag>
   
  -    <tag>
  +     <tag>
  +      <name>user</name>
  +      <tag-class>org.apache.taglibs.mailer.UserTag</tag-class>
  +      <body-content>JSP</body-content>
  +      <display-name>user</display-name>
  +
  +      <description>
  +        Used to set the user name for mail session authentication.
  +      </description>
  +      
  +      <summary>
  +        Used to set the user name for mail session authentication.
  +      </summary>
  +      <availability>1.2</availability> 
  +      <restrictions>
  +	Must be nested within a mail tag.<br/>Must occur before send tag.
  +      </restrictions>
  +
  +      <example>
  +        <usage>
  +          <comment>
  +            Send a basic message: set the to, from, subject, and authentication
  +	    attributes.  Set the user name and password with their tags
  +          </comment>
  +          <code>   
  +<![CDATA[      
  +<mt:mail to="foo@home.net" from="bar@home.net" subject="mail taglib" authenticate="true">
  +     <mt:user>george</mt:user>
  +     <mt:password>rumplestiltskin</mt:password>
  +     <mt:message>[body of message]</mt:message>
  +     <mt:send/> 
  +</mt:mail> 
  +]]>               
  +          </code>
  +        </usage>
  +      </example>
  +
  +    </tag>
  +
  +     <tag>
  +      <name>password</name>
  +      <tag-class>org.apache.taglibs.mailer.PasswordTag</tag-class>
  +      <body-content>JSP</body-content>
  +      <display-name>user</display-name>
  +
  +      <description>
  +        Used to set the password for mail session authentication.
  +      </description>
  +      
  +      <summary>
  +        Used to set the password for mail session authentication.
  +      </summary>
  +      <availability>1.2</availability> 
  +      <restrictions>
  +	Must be nested within a mail tag.<br/>Must occur before send tag.
  +      </restrictions>
  +
  +      <example>
  +        <usage>
  +          <comment>
  +            Send a basic message: set the to, from, subject, and authentication
  +	    attributes.  Set the user name and password with their tags
  +          </comment>
  +          <code>   
  +<![CDATA[      
  +<mt:mail to="foo@home.net" from="bar@home.net" subject="mail taglib" authenticate="true">
  +     <mt:user>george</mt:user>
  +     <mt:password>rumplestiltskin</mt:password>
  +     <mt:message>[body of message]</mt:message>
  +     <mt:send/> 
  +</mt:mail> 
  +]]>               
  +          </code>
  +        </usage>
  +      </example>
  +
  +    </tag>
  +
  +   <tag>
         <name>header</name>
         <tag-class>org.apache.taglibs.mailer.HeaderTag</tag-class>
         <body-content>JSP</body-content>
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: taglibs-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: taglibs-dev-help@jakarta.apache.org


Mime
View raw message