summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxue <>2006-04-30 12:20:05 +0000
committerxue <>2006-04-30 12:20:05 +0000
commit24c0f726ed54350a3f57097d674bfff51c07b2bd (patch)
tree7e2a57fccf128aeff985f487b4cba042d5c4c5ef
parentdafc1325d7bcd4e9593c010e4eb6c0261ed340e8 (diff)
updated tutorial page about comment tag.
-rw-r--r--demos/quickstart/protected/pages/Configurations/Templates1.page7
1 files changed, 5 insertions, 2 deletions
diff --git a/demos/quickstart/protected/pages/Configurations/Templates1.page b/demos/quickstart/protected/pages/Configurations/Templates1.page
index 39b2d75f..483ef1d1 100644
--- a/demos/quickstart/protected/pages/Configurations/Templates1.page
+++ b/demos/quickstart/protected/pages/Configurations/Templates1.page
@@ -71,15 +71,18 @@ Template control tag is optional in a template. Each template can contain at mos
<h2>Comment Tags</h2>
<p>
Comment tags are used to put comments in the template or the ultimate rendering result. There are two types of comment tags. One is like that in HTML and will be displayed to the end-users. The other only appear in a template and will be stripped out when the template is instantiated and displayed to the end-users. The format of these two comment tags is as follows,
+</p>
<com:TTextHighlighter Language="prado" CssClass="source">
&lt;!--
Comments VISIBLE to end-users
--&gt;
-&lt;!
+&lt;!--
Comments INVISIBLE to end-users
-!&gt;
+--!&gt;
</com:TTextHighlighter>
+<p>
+Note, template comments (by &lt;!-- ... --!&gt;) cannot appear in a property value.
</p>
</com:TContent> \ No newline at end of file