Beispiel #1
0
 /**
  * Renderiza o botão apenas usando o Html
  * 
  * @return string
  */
 public function renderHtml()
 {
     //$param['onClick'] = new ZendT_JS_Command();
     $js = $this->createJS();
     $js = str_replace('function', 'function ' . $this->getId(), $js);
     parent::setOnClick($this->getId() . '();');
     //$this->cli
     $this->addHeadScript($this->getId(), $js);
     //$this->addHeadScriptFile(ZendT_Url::getBaseDiretoryPublic().'/scripts/jquery/widget/TButton.js');
     return parent::render();
 }