summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/active-controls/protected/pages/TActiveFileUploadAutoPostBackTest.php
diff options
context:
space:
mode:
authorChristophe.Boulain <>2010-02-15 09:20:35 +0000
committerChristophe.Boulain <>2010-02-15 09:20:35 +0000
commitd860219f366a8fbe63b03d26c69525d4e6bd4f3a (patch)
tree6520a9a0a70a941d122de10d8f5ae9e3883a0ac6 /tests/FunctionalTests/active-controls/protected/pages/TActiveFileUploadAutoPostBackTest.php
parent94e94e0a8566f23d16658a04c55b0bbfdd6689aa (diff)
Merge from r2765 (and some others) 3.1
Added TActiveTableRow QST page Corrected an uninitialized array in TScaffoldBase
Diffstat (limited to 'tests/FunctionalTests/active-controls/protected/pages/TActiveFileUploadAutoPostBackTest.php')
-rwxr-xr-xtests/FunctionalTests/active-controls/protected/pages/TActiveFileUploadAutoPostBackTest.php32
1 files changed, 32 insertions, 0 deletions
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 @@
+<?php
+/**
+ * BActiveFileUploadTest.php
+ *
+ * @author Bradley Booms <Bradley.Booms@nsighttel.com>
+ * @version Creation Date: Aug 9, 2007
+ */
+
+/**
+ * BActiveFileUploadTest.php class
+ *
+ *
+ *
+ * Properties
+ * -
+ *
+ * @author Bradley Booms <Bradley.Booms@nsighttel.com>
+ * @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