diff options
author | wei <> | 2006-10-18 23:38:44 +0000 |
---|---|---|
committer | wei <> | 2006-10-18 23:38:44 +0000 |
commit | 80c82147fc8143eb45ef2000a49fabac889a1615 (patch) | |
tree | 42cfb960ec7bc72c6b657ff532abafde417eedd9 /tests/FunctionalTests/active-controls/protected | |
parent | af832a5a9018c7dcc2f24111d82049902269fc53 (diff) |
fixed onFailure and onSuccess in TInPlaceTextBox
Diffstat (limited to 'tests/FunctionalTests/active-controls/protected')
-rw-r--r-- | tests/FunctionalTests/active-controls/protected/pages/TInPlaceTextBoxTest.page | 12 | ||||
-rw-r--r-- | tests/FunctionalTests/active-controls/protected/pages/TInPlaceTextBoxTest.php | 5 |
2 files changed, 17 insertions, 0 deletions
diff --git a/tests/FunctionalTests/active-controls/protected/pages/TInPlaceTextBoxTest.page b/tests/FunctionalTests/active-controls/protected/pages/TInPlaceTextBoxTest.page index cf43dea6..14f74013 100644 --- a/tests/FunctionalTests/active-controls/protected/pages/TInPlaceTextBoxTest.page +++ b/tests/FunctionalTests/active-controls/protected/pages/TInPlaceTextBoxTest.page @@ -59,6 +59,18 @@ <com:TActiveLabel ID="status" Text="Status:" />
+
+ <com:TInPlaceTextBox
+ id="lblNewPackageTitle"
+ OnTextChanged="NewPackageSubject"
+ CssClass="textbox"
+ Text="عنوان باکس ...">
+ <prop:ClientSide
+ OnFailure="alert(10)"/>
+ </com:TInPlaceTextBox>
+
+ <com:TActiveButton Text="ad" OnCallback="NewPackageSubject" ClientSide.OnFailure="alert(10)"/>
+
<com:TJavascriptLogger />
</com:TForm>
\ No newline at end of file diff --git a/tests/FunctionalTests/active-controls/protected/pages/TInPlaceTextBoxTest.php b/tests/FunctionalTests/active-controls/protected/pages/TInPlaceTextBoxTest.php index 5607dea8..9b5a05f7 100644 --- a/tests/FunctionalTests/active-controls/protected/pages/TInPlaceTextBoxTest.php +++ b/tests/FunctionalTests/active-controls/protected/pages/TInPlaceTextBoxTest.php @@ -16,6 +16,11 @@ class TInPlaceTextBoxTest extends TPage {
$this->label1->Text = "hahahaha";
}
+
+ function NewPackageSubject($sender, $param)
+ {
+ throw new TException('Exist');
+ }
}
?>
\ No newline at end of file |