summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/tickets
diff options
context:
space:
mode:
authorxue <>2006-08-30 12:33:43 +0000
committerxue <>2006-08-30 12:33:43 +0000
commit1f560ccd8a9e21871dbedd548fc97f231131c771 (patch)
tree90d054108a0bce4668ca16d425655b22c99ed6d3 /tests/FunctionalTests/tickets
parentf4482f9c17825b63242fee42252e097dd85f53c5 (diff)
merge from 3.0 branch till 1363.
Diffstat (limited to 'tests/FunctionalTests/tickets')
-rw-r--r--tests/FunctionalTests/tickets/protected/pages/Ticket274.page10
-rw-r--r--tests/FunctionalTests/tickets/protected/pages/Ticket351.page12
2 files changed, 17 insertions, 5 deletions
diff --git a/tests/FunctionalTests/tickets/protected/pages/Ticket274.page b/tests/FunctionalTests/tickets/protected/pages/Ticket274.page
index 4e1441ed..0b92cb40 100644
--- a/tests/FunctionalTests/tickets/protected/pages/Ticket274.page
+++ b/tests/FunctionalTests/tickets/protected/pages/Ticket274.page
@@ -1,14 +1,14 @@
<com:TContent ID="Content">
-<com:TDatePicker ID="MyDate"
- DateFormat="dd/MM/yyyy"
+<com:TDatePicker ID="MyDate"
+ DateFormat="dd/MM/yyyy"
Mode="ImageButton" />
<com:TRequiredFieldValidator
- ID="validator1"
+ ID="validator1"
ControlToValidate="MyDate"
EnableClientScript="false"
ErrorMessage="date required (dd/MM/yyyy)" />
-
+
<com:TDataTypeValidator
ID="validator2"
DataType="Date"
@@ -18,5 +18,5 @@
ErrorMessage="date must be of the form dd/MM/yyyy" />
<com:TButton ID="button1" Text="Submit!" />
-
+
</com:TContent> \ No newline at end of file
diff --git a/tests/FunctionalTests/tickets/protected/pages/Ticket351.page b/tests/FunctionalTests/tickets/protected/pages/Ticket351.page
new file mode 100644
index 00000000..5fb65f20
--- /dev/null
+++ b/tests/FunctionalTests/tickets/protected/pages/Ticket351.page
@@ -0,0 +1,12 @@
+<com:TContent ID="Content">
+<com:TDatePicker ID="Birthdate"
+ DateFormat="MMM/d/yyyy"
+ FromYear="1900" UpToYear="1990" InputMode="DropDownList" />
+
+<br />
+<%= $this->Birthdate->Date %>
+<br />
+<%= $this->Birthdate->TimeStamp %>
+
+<com:TButton Text="Submit!" />
+</com:TContent> \ No newline at end of file