diff options
author | xue <> | 2006-03-27 03:40:01 +0000 |
---|---|---|
committer | xue <> | 2006-03-27 03:40:01 +0000 |
commit | 3192eb5cafef46ed5203a8cb2f7ae885e5693a47 (patch) | |
tree | e069214554216b8ab309d0c0ead9f52c6d42dca4 /demos/quickstart/protected/pages/Controls/Samples/TSafeHtml | |
parent | 27578bac69d64900e8b252bd5a61a2c5d2b13ee8 (diff) |
Added demos for TExpression, TStatements, TSafeHtml and TTextHighlighter.
Diffstat (limited to 'demos/quickstart/protected/pages/Controls/Samples/TSafeHtml')
-rw-r--r-- | demos/quickstart/protected/pages/Controls/Samples/TSafeHtml/Home.page | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/demos/quickstart/protected/pages/Controls/Samples/TSafeHtml/Home.page b/demos/quickstart/protected/pages/Controls/Samples/TSafeHtml/Home.page new file mode 100644 index 00000000..88f8e162 --- /dev/null +++ b/demos/quickstart/protected/pages/Controls/Samples/TSafeHtml/Home.page @@ -0,0 +1,25 @@ +<com:TContent ID="body">
+
+<h1>TSafeHtml Samples</h1>
+
+<table class="sampletable">
+
+<tr><td class="samplenote">
+Safeguard a static string:
+</td><td class="sampleaction">
+<com:TSafeHtml>
+ <a href="javascript:alert();">javascript link stripped</a>
+</com:TSafeHtml>
+</td></tr>
+
+<tr><td class="samplenote">
+Safeguard the control rendering results:
+</td><td class="sampleaction">
+<com:TSafeHtml>
+ <com:TLiteral Text="<a>a nonclosing tag" />
+</com:TSafeHtml>
+</td></tr>
+
+</table>
+
+</com:TContent>
\ No newline at end of file |