diff options
author | Christophe.Boulain <> | 2009-04-08 07:06:36 +0000 |
---|---|---|
committer | Christophe.Boulain <> | 2009-04-08 07:06:36 +0000 |
commit | d042fed88e7ed55e2a7deee037c8073e6c545290 (patch) | |
tree | 00709c8d5b8283c676d8edc4e308c3aefc8d210d /tests/FunctionalTests/active-controls/protected | |
parent | bd2d05119734a7892485cfe3c7bc62a4a606ce6d (diff) |
Fixed Issue#136
Diffstat (limited to 'tests/FunctionalTests/active-controls/protected')
-rwxr-xr-x | tests/FunctionalTests/active-controls/protected/pages/ActiveDatePicker.page | 8 | ||||
-rwxr-xr-x | tests/FunctionalTests/active-controls/protected/pages/ActiveDatePicker.php | 4 |
2 files changed, 12 insertions, 0 deletions
diff --git a/tests/FunctionalTests/active-controls/protected/pages/ActiveDatePicker.page b/tests/FunctionalTests/active-controls/protected/pages/ActiveDatePicker.page index ed35293e..64f37867 100755 --- a/tests/FunctionalTests/active-controls/protected/pages/ActiveDatePicker.page +++ b/tests/FunctionalTests/active-controls/protected/pages/ActiveDatePicker.page @@ -11,6 +11,14 @@ <com:TActiveButton ID="increaseButton" OnClick="increase" Text="+1" OnCallback="testDatePicker"/> <com:TButton ID="toggleButton" OnClick="toggleMode" Text="Toggle input mode (postback)"/> </p> +<p> +ShowCalendar=false +</p> +<p> +<com:TActiveDatePicker ID="datepicker2" DateFormat="MM-dd-yyyy" OnCallback="testDatePicker2" InputMode="DropDownList" ShowCalendar="false"/> +<com:TActiveLabel ID="status2" /><br/> +</p> + </com:TForm> </body> diff --git a/tests/FunctionalTests/active-controls/protected/pages/ActiveDatePicker.php b/tests/FunctionalTests/active-controls/protected/pages/ActiveDatePicker.php index 6d78a664..4897a146 100755 --- a/tests/FunctionalTests/active-controls/protected/pages/ActiveDatePicker.php +++ b/tests/FunctionalTests/active-controls/protected/pages/ActiveDatePicker.php @@ -14,6 +14,10 @@ class ActiveDatePicker extends TPage { $this->status->Text = $this->datepicker->getText(); } + public function testDatePicker2($sender, $param){ + $this->status2->Text = $this->datepicker2->getText(); + } + public function today ($sender, $param) { $this->datepicker->setTimestamp(time()); |