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 2004/07/21 19:16:10 UTC
cvs commit: jakarta-velocity-tools/xdocs/struts userguide.xml
nbubna 2004/07/21 10:16:10
Modified: docs/struts userguide.html
xdocs/struts userguide.xml
Log:
fix bad link caught by Shinobu Kawai and a few other little problems
Revision Changes Path
1.5 +3 -6 jakarta-velocity-tools/docs/struts/userguide.html
Index: userguide.html
===================================================================
RCS file: /home/cvs/jakarta-velocity-tools/docs/struts/userguide.html,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- userguide.html 21 Feb 2004 18:31:23 -0000 1.4
+++ userguide.html 21 Jul 2004 17:16:10 -0000 1.5
@@ -123,7 +123,6 @@
<li><a href="#Exposing Data">Exposing Data</a></li>
<li><a href="#Access to Servlet Resources">Access to Servlet Resources</a></li>
<li><a href="#Access to Struts Framework Resources">Access to Struts Framework Resources</a></li>
- <li><a href="#View Tools">View Tools</a></li>
</ol>
</li>
</ol>
@@ -860,10 +859,9 @@
<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>
-$text.get("title")
-$text.get("test", ["bear", "dog", "cat"])
-$text.exists("tutle")
-$text.getLocale()
+$text.title
+$text.get('test', ['bear', 'dog', 'cat'])
+$text.exists('tutle')
</sourcecode></pre>
</td></tr></table>
</td></tr></table>
@@ -874,7 +872,6 @@
Struts Example Application
This string has 4 replacement parameters: bear, dog, cat, {4}
false
-en
</sourcecode></pre>
</td></tr></table>
</td></tr></table>
1.6 +4 -7 jakarta-velocity-tools/xdocs/struts/userguide.xml
Index: userguide.xml
===================================================================
RCS file: /home/cvs/jakarta-velocity-tools/xdocs/struts/userguide.xml,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- userguide.xml 18 Feb 2004 20:22:36 -0000 1.5
+++ userguide.xml 21 Jul 2004 17:16:10 -0000 1.6
@@ -59,7 +59,6 @@
<li><a href="#Exposing Data">Exposing Data</a></li>
<li><a href="#Access to Servlet Resources">Access to Servlet Resources</a></li>
<li><a href="#Access to Struts Framework Resources">Access to Struts Framework Resources</a></li>
- <li><a href="#View Tools">View Tools</a></li>
</ol>
</li>
</ol>
@@ -499,10 +498,9 @@
<p>Then, the following script...</p>
<sourcecode>
-$text.get("title")
-$text.get("test", ["bear", "dog", "cat"])
-$text.exists("tutle")
-$text.getLocale()
+$text.title
+$text.get('test', ['bear', 'dog', 'cat'])
+$text.exists('tutle')
</sourcecode>
<p>..will produce this output:</p>
@@ -511,7 +509,6 @@
Struts Example Application
This string has 4 replacement parameters: bear, dog, cat, {4}
false
-en
</sourcecode>
<p>Please see the <a href="StrutsTools.html">Tool Reference Documentation</a>
---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-dev-help@jakarta.apache.org