diff options
author | wei <> | 2006-09-23 01:08:19 +0000 |
---|---|---|
committer | wei <> | 2006-09-23 01:08:19 +0000 |
commit | 9af56fd93ed071d86f14296cec618073f6c0941a (patch) | |
tree | 439b2ba2a89b79bbbd0ce95ad904bd5335c7a700 /tests/FunctionalTests/active-controls/protected/pages/ActiveBricksTest.php | |
parent | 0ccf3763474a18b72b6a166399fc1cf569b867f8 (diff) |
Fixed #383
Diffstat (limited to 'tests/FunctionalTests/active-controls/protected/pages/ActiveBricksTest.php')
-rw-r--r-- | tests/FunctionalTests/active-controls/protected/pages/ActiveBricksTest.php | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/FunctionalTests/active-controls/protected/pages/ActiveBricksTest.php b/tests/FunctionalTests/active-controls/protected/pages/ActiveBricksTest.php new file mode 100644 index 00000000..c60d4c67 --- /dev/null +++ b/tests/FunctionalTests/active-controls/protected/pages/ActiveBricksTest.php @@ -0,0 +1,13 @@ +<?php +class ActiveBricksTest extends TPage +{ + + function insertBrick($sender, $param) + { + $x= Prado::createComponent("Application.pages.LTemplate"); + $x->Size = $sender->NamingContainer->findControl("MySize")->SelectedValue; + $this->placeholder->getControls()->add($x); + $this->Page->CallbackClient->insertContentAfter($this->AjaxInsertPoint, $x); + } +} +?>
\ No newline at end of file |