diff options
author | wei <> | 2006-07-02 04:51:24 +0000 |
---|---|---|
committer | wei <> | 2006-07-02 04:51:24 +0000 |
commit | 4009bc98e96c38d22b3c199f3bfefe4c30783d00 (patch) | |
tree | ec5125c72b4e49407bda6452631bb90692eb08f1 /tests/FunctionalTests/tickets/protected/pages/Ticket207.page | |
parent | b2f51830b7ad319f5d978b411d9bfd87f03308eb (diff) |
Add Ticket tests
Diffstat (limited to 'tests/FunctionalTests/tickets/protected/pages/Ticket207.page')
-rw-r--r-- | tests/FunctionalTests/tickets/protected/pages/Ticket207.page | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/tests/FunctionalTests/tickets/protected/pages/Ticket207.page b/tests/FunctionalTests/tickets/protected/pages/Ticket207.page new file mode 100644 index 00000000..8826c208 --- /dev/null +++ b/tests/FunctionalTests/tickets/protected/pages/Ticket207.page @@ -0,0 +1,20 @@ +<com:TContent ID="Content"> + <h2>Validators ClientSide.OnError triggered twice</h2> + <com:TTextBox ID="T" /><br /> + <com:TRequiredFieldValidator ControlToValidate="T" Text="Error" + ClientSide.OnError="Logger.info('error on T fired')" /> + <br /> + <com:TTextBox ID="B" /><br /> + <com:TRequiredFieldValidator ControlToValidate="B" Text="Error" /> + <br /> + <com:TButton Text="submit" /> + <h3>Conditions</h3> +<pre> + (TextBox? B is just there to prevent server submission) + To verify try exactly this: + + 1. Enter nothing and click on submit : 1 error event will be triggered + 2. Enter something into TextBox? T and click on submit : no error event (ok) + 3. Delete your text from TextBox? T again and click on submit : error event will be triggered twice +</pre> +</com:TContent>
\ No newline at end of file |