You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by nb...@apache.org on 2003/12/02 19:03:04 UTC

cvs commit: jakarta-velocity-tools/docs/view LinkTool.html

nbubna      2003/12/02 10:03:04

  Modified:    xdocs/view LinkTool.xml
               docs/view LinkTool.html
  Log:
  fix error in LinkTool docs: getContextURI should be getContextURL
  
  Revision  Changes    Path
  1.4       +5 -5      jakarta-velocity-tools/xdocs/view/LinkTool.xml
  
  Index: LinkTool.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-velocity-tools/xdocs/view/LinkTool.xml,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- LinkTool.xml	9 Sep 2003 17:16:00 -0000	1.3
  +++ LinkTool.xml	2 Dec 2003 18:03:04 -0000	1.4
  @@ -24,7 +24,7 @@
                 setAnchor()</a></li>
               <li>encode session ID into URL, see method <a href="#toString()">toString()</a></li>
               <li>retrieve server, port and path info for the current request, see methods
  -              <a href="#getURI()">getURI()</a>, <a href="#getContextURI()">getContextURI()</a>, 
  +              <a href="#getURI()">getURI()</a>, <a href="#getContextURL()">getContextURL()</a>, 
                 <a href="#getContextPath()">getContextPath()</a> and 
                 <a href="#getBaseRef()">getBaseRef()</a></li>
           </ul>
  @@ -312,15 +312,15 @@
   
   
   
  -    <section name="getContextURI()">
  -        <method name="getContextURI()">
  +    <section name="getContextURL()">
  +        <method name="getContextURL()">
       
               <abstract>
                   Returns the URI that addresses this web application.
               </abstract>
       
               <signature>
  -                String getContextURI()
  +                String getContextURL()
               </signature>
       
               <returns>
  @@ -332,7 +332,7 @@
                   <p>Note! This will not represent the URI reference or 
                   query data set for this LinkTool instance.</p>
   
  -<sourcecode>$link.getContextURI()</sourcecode>
  +<sourcecode>$link.getContextURL()</sourcecode>
   
   <p>Produces something like:</p>
   
  
  
  
  1.6       +17 -8     jakarta-velocity-tools/docs/view/LinkTool.html
  
  Index: LinkTool.html
  ===================================================================
  RCS file: /home/cvs/jakarta-velocity-tools/docs/view/LinkTool.html,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- LinkTool.html	9 Sep 2003 17:17:55 -0000	1.5
  +++ LinkTool.html	2 Dec 2003 18:03:04 -0000	1.6
  @@ -58,10 +58,19 @@
       <strong>VelocityView Tools</strong>
   </p>
   <ul>
  -        <li><a href="LinkTool.html">LinkTool</a></li>
  +        <li><a href="../javadoc/org/apache/velocity/tools/view/tools/AbstractSearchTool.html">AbstractSearchTool</a></li>
  +    <li><a href="../javadoc/org/apache/velocity/tools/view/tools/CookieTool.html">CookieTool</a></li>
  +    <li><a href="LinkTool.html">LinkTool</a></li>
       <li><a href="ParameterParser.html">ParameterParser</a></li>
       <li><a href="../javadoc/org/apache/velocity/tools/view/tools/ViewRenderTool.html">ViewRenderTool</a></li>
  -    <li><a href="../javadoc/org/apache/velocity/tools/view/tools/AbstractSearchTool.html">AbstractSearchTool</a></li>
  +
  +</ul>
  +<p>
  +    <strong>Other Subprojects</strong>
  +</p>
  +<ul>
  +        <li><a href="../generic/">GenericTools</a></li>
  +    <li><a href="../struts/">VelocityStruts</a></li>
   
   </ul>
   
  @@ -95,7 +104,7 @@
                 setAnchor()</a></li>
               <li>encode session ID into URL, see method <a href="#toString()">toString()</a></li>
               <li>retrieve server, port and path info for the current request, see methods
  -              <a href="#getURI()">getURI()</a>, <a href="#getContextURI()">getContextURI()</a>, 
  +              <a href="#getURI()">getURI()</a>, <a href="#getContextURL()">getContextURL()</a>, 
                 <a href="#getContextPath()">getContextPath()</a> and 
                 <a href="#getBaseRef()">getBaseRef()</a></li>
           </ul>
  @@ -199,7 +208,7 @@
           </tr>
                           <tr>
             <td bgcolor="EEEEEE" nowrap>
  -            <a href="#getContextURI()">getContextURI()</a></td>
  +            <a href="#getContextURL()">getContextURL()</a></td>
             <td bgcolor="EEEEEE">
               
                   Returns the URI that addresses this web application.
  @@ -669,8 +678,8 @@
     <tr>
       <td colspan="2" bgcolor="#525D76">
         <font color="#ffffff" face="arial,helvetica.sanserif">
  -      <a name="getContextURI()">
  -      <strong>getContextURI()</strong></a></font>
  +      <a name="getContextURL()">
  +      <strong>getContextURL()</strong></a></font>
       </td>
     </tr>
     <tr>
  @@ -686,7 +695,7 @@
       <table width="100%"><tr><td bgcolor="EEEEEE">
       <font size="+1"><code>
           <signature>
  -                String getContextURI()
  +                String getContextURL()
               </signature>
       </code></font>
       </td></tr></table>
  @@ -705,7 +714,7 @@
                   query data set for this LinkTool instance.</p>
   <table width="100%" cellpadding="1" cellspacing="0" border="0"><tr><td bgcolor="#000000">
     <table width="100%" cellpadding="5" cellspacing="0" border="0"><tr><td bgcolor="#FFFFFF">
  -    <pre><sourcecode>$link.getContextURI()</sourcecode></pre>
  +    <pre><sourcecode>$link.getContextURL()</sourcecode></pre>
     </td></tr></table>
   </td></tr></table>
   <p>Produces something like:</p>
  
  
  

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