diff options
author | xue <> | 2006-01-29 17:15:28 +0000 |
---|---|---|
committer | xue <> | 2006-01-29 17:15:28 +0000 |
commit | 82fe60baccecc1481de74f64fe36e38e6ccd3e48 (patch) | |
tree | ad5b68572da2120123d914ecf67b210c8b822dea /demos/quickstart | |
parent | d1eaf452f7627a8425f551250cb07fe55658c7c4 (diff) |
Updated quickstart tutorial about new template parsing.
Diffstat (limited to 'demos/quickstart')
-rw-r--r-- | demos/quickstart/protected/pages/Configurations/Templates1.page | 5 | ||||
-rw-r--r-- | 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 <tt>Text</tt> proper <com:TTextHighlighter Language="prado" CssClass="source">
<com:TButton Text="Register" OnClick="registerUser" />
</com:TTextHighlighter>
-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 <tt>On</tt>.
+Note, property names and event names are all case-insensitive, while component type names are case-sensitive. Event names always begin with <tt>On</tt>.
+</p>
+<p>
+Also note, initial values for properties whose name ends with <tt>Template</tt> are specially processed. In particular, the initial values are parsed as <tt>TTemplate</tt> objects. The <tt>ItemTemplate</tt> property of the <tt>TRepeater</tt> control is such an example.
</p>
<p>
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 {
|