summaryrefslogtreecommitdiff
path: root/demos/helloworld/protected/pages/Home.page
diff options
context:
space:
mode:
authorxue <>2007-08-29 03:14:14 +0000
committerxue <>2007-08-29 03:14:14 +0000
commitffdffb3e1a7711c962ddbb233b84063abc407de6 (patch)
tree53d00781a306d5eeac2c60e5536c23ba9452e9bb /demos/helloworld/protected/pages/Home.page
parent491d3956a4f1bc6ce5501bcc0449007a16514288 (diff)
fixed a small bug.
Diffstat (limited to 'demos/helloworld/protected/pages/Home.page')
-rw-r--r--demos/helloworld/protected/pages/Home.page5
1 files changed, 3 insertions, 2 deletions
diff --git a/demos/helloworld/protected/pages/Home.page b/demos/helloworld/protected/pages/Home.page
index 97702e67..0a4a36b4 100644
--- a/demos/helloworld/protected/pages/Home.page
+++ b/demos/helloworld/protected/pages/Home.page
@@ -7,9 +7,10 @@
<body>
<com:TForm>
-
+<com:TCaptcha ID="Captcha" CaseSensitive="true" MaxTokenLength="5" />
+<com:TTextBox ID="Input" />
<com:TButton Text="Click me" OnClick="buttonClicked" />
-
+<com:TCaptchaValidator EnableClientScript="true" ControlToValidate="Input" CaptchaControl="Captcha" Text="invalid" />
</com:TForm>
</body>