summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/features/protected/pages/DatePicker.page
diff options
context:
space:
mode:
authorxue <>2006-03-12 04:43:03 +0000
committerxue <>2006-03-12 04:43:03 +0000
commitcb7b7f1929dce12936eca957caa432e74c6dc7de (patch)
tree5de1b58f968241299e65e8ac852f88d755f8f25d /tests/FunctionalTests/features/protected/pages/DatePicker.page
parentdcaeab55c94f6f51ab92b7d1a70503a544df73cd (diff)
reorganized FT tests.
Diffstat (limited to 'tests/FunctionalTests/features/protected/pages/DatePicker.page')
-rw-r--r--tests/FunctionalTests/features/protected/pages/DatePicker.page59
1 files changed, 59 insertions, 0 deletions
diff --git a/tests/FunctionalTests/features/protected/pages/DatePicker.page b/tests/FunctionalTests/features/protected/pages/DatePicker.page
new file mode 100644
index 00000000..4347f748
--- /dev/null
+++ b/tests/FunctionalTests/features/protected/pages/DatePicker.page
@@ -0,0 +1,59 @@
+<com:TContent ID="Content">
+
+<h1>TDatePicker Samples</h1>
+
+<table class="sampletable">
+
+<tr>
+ <td class="samplenote">Default TDatePicker</td>
+ <td class="sampleaction">
+ <com:TDatePicker />
+ </td>
+</tr>
+
+<tr>
+ <td class="samplenote">Button Mode</td>
+ <td class="sampleaction">
+ <com:TDatePicker Mode="Button" />
+ </td>
+</tr>
+
+<tr>
+ <td class="samplenote">InputMode="DropDownList", custom DateFormat</td>
+ <td class="sampleaction">
+ <com:TDatePicker DateFormat="yyyy/MMMM" InputMode="DropDownList"/>
+ </td>
+</tr>
+
+<tr>
+ <td class="samplenote">InputMode="DropDownList", custom DateFormat, Culture</td>
+ <td class="sampleaction">
+ <com:TDatePicker DateFormat="MM/yyyy" Culture="fr" InputMode="DropDownList"/>
+ </td>
+</tr>
+
+
+<tr>
+ <td class="samplenote">Custom DateFormat, culture, ImageButton mode</td>
+ <td class="sampleaction">
+ <com:TDatePicker Mode="ImageButton" Culture="zh_CN" DateFormat="日期:yyyy年M月d日"/>
+ </td>
+</tr>
+
+<tr>
+ <td class="samplenote">Custom DateFormat, DropDownList, pre-selected date set in as Text</td>
+ <td class="sampleaction">
+ <com:TDatePicker DateFormat="yyyy/MMMM/dd" Text="2005/05/15" InputMode="DropDownList"/>
+ </td>
+</tr>
+
+<tr>
+ <td class="samplenote">DropDownList, pre-selected date as integer</td>
+ <td class="sampleaction">
+ <com:TDatePicker InputMode="DropDownList" Date=<%= @strtotime("-1 month") %>/>
+ </td>
+</tr>
+
+</table>
+
+</com:TContent> \ No newline at end of file