From a59a458f9ae2b178d08854c112f34068b50ea243 Mon Sep 17 00:00:00 2001 From: xue <> Date: Tue, 9 Jan 2007 03:56:46 +0000 Subject: updated tutorial page about comment tags. --- .../protected/pages/Configurations/Templates1.page | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/demos/quickstart/protected/pages/Configurations/Templates1.page b/demos/quickstart/protected/pages/Configurations/Templates1.page index 958e27cf..cda02d2b 100644 --- a/demos/quickstart/protected/pages/Configurations/Templates1.page +++ b/demos/quickstart/protected/pages/Configurations/Templates1.page @@ -70,20 +70,15 @@ Template control tag is optional in a template. Each template can contain at mos

Comment Tags

-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, +Comment tags are used to put in a template developer comments that will not display to end-users. Contents enclosed within a comment tag will be treated as raw text strings and PRADO will not attempt to parse them. Comment tags cannot be used within property values. The format of comment tags is as follows,

-<!-- -Comments VISIBLE to end-users ---> - <!-- Comments INVISIBLE to end-users ---!> +---> -

-Note, template comments (by <!-- ... --!>) cannot appear in a property value. -

+
Note: +The new comment tag <!-- ... ---> has been introduced since PRADO version 3.1. Previously, it was <!-- ... --!> which was deprecated because some editors have problems in syntax-highlighting such tags.

Include Tags

-- cgit v1.2.3