From d860219f366a8fbe63b03d26c69525d4e6bd4f3a Mon Sep 17 00:00:00 2001
From: "Christophe.Boulain" <>
Date: Mon, 15 Feb 2010 09:20:35 +0000
Subject: Merge from r2765 (and some others) 3.1 Added TActiveTableRow QST page
Corrected an uninitialized array in TScaffoldBase
---
.../pages/TActiveFileUploadAutoPostBackTest.page | 14 ++++++++++
.../pages/TActiveFileUploadAutoPostBackTest.php | 32 ++++++++++++++++++++++
2 files changed, 46 insertions(+)
create mode 100755 tests/FunctionalTests/active-controls/protected/pages/TActiveFileUploadAutoPostBackTest.page
create mode 100755 tests/FunctionalTests/active-controls/protected/pages/TActiveFileUploadAutoPostBackTest.php
(limited to 'tests/FunctionalTests/active-controls')
diff --git a/tests/FunctionalTests/active-controls/protected/pages/TActiveFileUploadAutoPostBackTest.page b/tests/FunctionalTests/active-controls/protected/pages/TActiveFileUploadAutoPostBackTest.page
new file mode 100755
index 00000000..41390e52
--- /dev/null
+++ b/tests/FunctionalTests/active-controls/protected/pages/TActiveFileUploadAutoPostBackTest.page
@@ -0,0 +1,14 @@
+
+
+ TActiveFileUpload AutoPostBack Functional Test
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/tests/FunctionalTests/active-controls/protected/pages/TActiveFileUploadAutoPostBackTest.php b/tests/FunctionalTests/active-controls/protected/pages/TActiveFileUploadAutoPostBackTest.php
new file mode 100755
index 00000000..816a899e
--- /dev/null
+++ b/tests/FunctionalTests/active-controls/protected/pages/TActiveFileUploadAutoPostBackTest.php
@@ -0,0 +1,32 @@
+
+ * @version Creation Date: Aug 9, 2007
+ */
+
+/**
+ * BActiveFileUploadTest.php class
+ *
+ *
+ *
+ * Properties
+ * -
+ *
+ * @author Bradley Booms
+ * @version Modified Date: Aug 9, 2007
+ *
+ * Modifications:
+ */
+class TActiveFileUploadAutoPostBackTest extends TPage{
+ public function onPreRender($param){
+ parent::onPreRender($param);
+ $this->button1->Attributes->onclick = "{$this->uploader->getCallbackJavascript()}; return false;";
+ }
+
+ public function uploadComplete($sender, $param){
+ $this->label1->setText($sender->getFileName());
+ }
+}
+?>
\ No newline at end of file
--
cgit v1.2.3