summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/active-controls/protected/pages/Calculator.page
diff options
context:
space:
mode:
authorFabio Bas <ctrlaltca@gmail.com>2014-02-25 22:43:00 +0100
committerFabio Bas <ctrlaltca@gmail.com>2014-02-25 22:43:00 +0100
commita0d6864093cf13a96dafa8a47b5c43891b2b864f (patch)
treece0fd41762e21fc5bee56f6597d14c05491e4190 /tests/FunctionalTests/active-controls/protected/pages/Calculator.page
parentb340ed9cc57f327785ebc0c1b8fb725ffb02d647 (diff)
Ensure all tests have a proper doctype and html structure, to avoid browser's quirks mode
Diffstat (limited to 'tests/FunctionalTests/active-controls/protected/pages/Calculator.page')
-rwxr-xr-xtests/FunctionalTests/active-controls/protected/pages/Calculator.page18
1 files changed, 9 insertions, 9 deletions
diff --git a/tests/FunctionalTests/active-controls/protected/pages/Calculator.page b/tests/FunctionalTests/active-controls/protected/pages/Calculator.page
index 7a565658..e7b1f180 100755
--- a/tests/FunctionalTests/active-controls/protected/pages/Calculator.page
+++ b/tests/FunctionalTests/active-controls/protected/pages/Calculator.page
@@ -1,17 +1,17 @@
-<com:TForm ID="form1">
+<com:TContent ID="Content">
<h1>Callback Enabled Calculator</h1>
-
+
<com:TActiveTextBox id="a" />
+
<com:TActiveTextBox id="b" />
=
<com:TActiveTextBox id="c" />
-
- <com:TActiveButton id="sum"
- onclick="do_sum"
+
+ <com:TActiveButton id="sum"
+ onclick="do_sum"
text="Calculate!" />
-
- <com:TRequiredFieldValidator
+
+ <com:TRequiredFieldValidator
ControlToValidate="a"
ErrorMessage="left summand is required."
ControlCssClass="required"
@@ -27,5 +27,5 @@
ID="summary"
HeaderText="Unable to calculate because" />
</div>
-
-</com:TForm> \ No newline at end of file
+
+</com:TContent> \ No newline at end of file