summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/tickets/protected
diff options
context:
space:
mode:
authorxue <>2006-04-13 12:38:46 +0000
committerxue <>2006-04-13 12:38:46 +0000
commit9e21d160ead61cd0ed86c16a0668c50b14f58baf (patch)
treeae52b73597d49737477f4cc2025310b3b9d831ee /tests/FunctionalTests/tickets/protected
parent8758ffa08275ec1a38f161e0eb80f8ae6ca403f8 (diff)
Added test case for Ticket#121.
Diffstat (limited to 'tests/FunctionalTests/tickets/protected')
-rw-r--r--tests/FunctionalTests/tickets/protected/pages/Ticket121.page16
-rw-r--r--tests/FunctionalTests/tickets/protected/pages/Ticket121.php11
2 files changed, 27 insertions, 0 deletions
diff --git a/tests/FunctionalTests/tickets/protected/pages/Ticket121.page b/tests/FunctionalTests/tickets/protected/pages/Ticket121.page
new file mode 100644
index 00000000..9c9633d3
--- /dev/null
+++ b/tests/FunctionalTests/tickets/protected/pages/Ticket121.page
@@ -0,0 +1,16 @@
+<com:TContent ID="Content">
+
+<com:TImageButton
+ ImageUrl="http://www.pradosoft.com/images/powered.gif"
+ Text="Foo"
+ ValidationGroup="Foo"
+ OnClick="buttonClicked" />
+<com:TTextBox ID="FooTextBox" Text="sometext" />
+<com:TRequiredFieldValidator
+ ValidationGroup="Foo"
+ ControlToValidate="FooTextBox"
+ Text="Field required." />
+
+<com:TLabel ID="Result" />
+
+</com:TContent> \ No newline at end of file
diff --git a/tests/FunctionalTests/tickets/protected/pages/Ticket121.php b/tests/FunctionalTests/tickets/protected/pages/Ticket121.php
new file mode 100644
index 00000000..1a625d83
--- /dev/null
+++ b/tests/FunctionalTests/tickets/protected/pages/Ticket121.php
@@ -0,0 +1,11 @@
+<?php
+
+class Ticket121 extends TPage
+{
+ public function buttonClicked($sender,$param)
+ {
+ $this->Result->Text="clicked at ({$param->X},{$param->Y})";
+ }
+}
+
+?> \ No newline at end of file