jon 00/11/26 17:17:47
Modified: docs anakia.html
Log:
added $escape documentation
Revision Changes Path
1.4 +10 -0 jakarta-velocity/docs/anakia.html
Index: anakia.html
===================================================================
RCS file: /home/cvs/jakarta-velocity/docs/anakia.html,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- anakia.html 2000/11/26 23:05:56 1.3
+++ anakia.html 2000/11/27 01:17:46 1.4
@@ -255,6 +255,16 @@
</FONT></TD>
</TR>
<TR>
+ <TD align="left" bgcolor="#a0ddf0" colspan="" rowspan=""
valign="top"><FONT color="#000000" face="arial,helvetica,sanserif"
size="-1">$escape.getText($string)
+ </FONT></TD>
+ <TD align="left" bgcolor="#a0ddf0" colspan="" rowspan=""
valign="top"><FONT color="#000000" face="arial,helvetica,sanserif" size="-1">This
context object will convert HTML Entities in the $string
+ that is passed into it and it will return the converted String. This
+ is good for dealing with CDATA. The entities that are converted are:
+ " -> &quot; | < -> &lt; | > -> &gt; |
& -
+ > &amp;
+ </FONT></TD>
+ </TR>
+ <TR>
<TD align="left" bgcolor="#a0ddf0" colspan="" rowspan=""
valign="top"><FONT color="#000000" face="arial,helvetica,sanserif"
size="-1">$relativePath
</FONT></TD>
<TD align="left" bgcolor="#a0ddf0" colspan="" rowspan=""
valign="top"><FONT color="#000000" face="arial,helvetica,sanserif" size="-1">This
contains a String which is the relative path to your