From 82fe60baccecc1481de74f64fe36e38e6ccd3e48 Mon Sep 17 00:00:00 2001 From: xue <> Date: Sun, 29 Jan 2006 17:15:28 +0000 Subject: Updated quickstart tutorial about new template parsing. --- demos/quickstart/protected/pages/Configurations/Templates1.page | 5 ++++- demos/quickstart/themes/PradoSoft/style.css | 9 +++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/demos/quickstart/protected/pages/Configurations/Templates1.page b/demos/quickstart/protected/pages/Configurations/Templates1.page index 79f5cca9..39b2d75f 100644 --- a/demos/quickstart/protected/pages/Configurations/Templates1.page +++ b/demos/quickstart/protected/pages/Configurations/Templates1.page @@ -28,7 +28,10 @@ The following template shows a component tag specifying the Text proper <com:TButton Text="Register" OnClick="registerUser" /> -Keep it in mind that property names and event names are all case-insensitive, while component type names are case-sensitive. Event names always begin with On. +Note, property names and event names are all case-insensitive, while component type names are case-sensitive. Event names always begin with On. +

+

+Also note, initial values for properties whose name ends with Template are specially processed. In particular, the initial values are parsed as TTemplate objects. The ItemTemplate property of the TRepeater control is such an example.

To deal conveniently with properties taking take big trunk of initial data, the following property initialization tag is introduced, diff --git a/demos/quickstart/themes/PradoSoft/style.css b/demos/quickstart/themes/PradoSoft/style.css index 8a3d9b5f..dbfc64d3 100644 --- a/demos/quickstart/themes/PradoSoft/style.css +++ b/demos/quickstart/themes/PradoSoft/style.css @@ -27,7 +27,6 @@ h1 { h2 { font-size:12pt; - margin-top: 2.5em; } h3 { @@ -159,13 +158,12 @@ a .source { padding: 0.5em; - border-style:dotted; + border-style:solid; border-width:1px; - border-color:#cccccc; + border-color:#eeeeee; background-color:#ffffee; font-family: "Courier New", Courier, mono; - margin-top: 0.2em; - margin-bottom: 0.5em; + margin: 0.2em; } .source pre { @@ -217,7 +215,6 @@ a background-color:#ffffee; margin:5px 10px 10px 10px; border:1px solid silver; - padding:10px; } code { -- cgit v1.2.3