Esempio n. 1
0
 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"));
 }
Esempio n. 2
0
 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'));
 }
Esempio n. 3
0
 public function onInit($param)
 {
     parent::onInit($param);
     $this->getPage()->setAdapter(new BMapPageAdapter($this->getPage()));
 }