summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/tickets/protected
diff options
context:
space:
mode:
Diffstat (limited to 'tests/FunctionalTests/tickets/protected')
-rw-r--r--tests/FunctionalTests/tickets/protected/pages/Ticket670.page6
-rw-r--r--tests/FunctionalTests/tickets/protected/pages/Ticket670.php9
2 files changed, 15 insertions, 0 deletions
diff --git a/tests/FunctionalTests/tickets/protected/pages/Ticket670.page b/tests/FunctionalTests/tickets/protected/pages/Ticket670.page
new file mode 100644
index 00000000..b04f9d23
--- /dev/null
+++ b/tests/FunctionalTests/tickets/protected/pages/Ticket670.page
@@ -0,0 +1,6 @@
+<com:TContent ID="Content">
+
+<com:TDatePicker Id="datePicker" InputMode="TextBox" Mode="Button" FromYear="2007" UpToYear="2009"/>
+<com:TLabel id="lbl" />
+<com:TButton id="ok" Text="Ok" onClick="clickOk"/>
+</com:TContent> \ No newline at end of file
diff --git a/tests/FunctionalTests/tickets/protected/pages/Ticket670.php b/tests/FunctionalTests/tickets/protected/pages/Ticket670.php
new file mode 100644
index 00000000..416b0235
--- /dev/null
+++ b/tests/FunctionalTests/tickets/protected/pages/Ticket670.php
@@ -0,0 +1,9 @@
+<?php
+class Ticket670 extends TPage
+{
+ public function clickOk($sender,$param)
+ {
+ $this->lbl->Text=$this->datePicker->getDate();
+ }
+}
+?> \ No newline at end of file