public function onInit($param) { parent::onInit($param); $this->getPage()->getClientScript()->registerPradoScript("prado"); $this->getPage()->getClientScript()->registerPradoScript("effects"); $this->getPage()->getClientScript()->registerScriptFile('NModalPanel', $this->publishAsset("assets/NModalPanel/NModalPanel.js")); }
public function onInit($param) { parent::onInit($param); $this->getPage()->getClientScript()->registerScriptFile('JQuery', $this->publishAsset("js/jquery.js")); $this->getPage()->getClientScript()->registerScriptFile('XThickBox', $this->publishAsset("js/thickbox.js")); $this->getPage()->getClientScript()->registerStyleSheetFile('XThickBoxCss', $this->publishAsset('css/thickbox.css')); }
public function onInit($param) { parent::onInit($param); $this->getPage()->setAdapter(new BMapPageAdapter($this->getPage())); }