diff options
Diffstat (limited to 'tests/FunctionalTests/active-controls/protected/pages/TActiveFileUploadAutoPostBackTest.php')
-rwxr-xr-x | tests/FunctionalTests/active-controls/protected/pages/TActiveFileUploadAutoPostBackTest.php | 32 |
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 |