Ver Mensaje Individual
  #2 (permalink)  
Antiguo 08/08/2011, 08:59
Avatar de masterpuppet
masterpuppet
Software Craftsman
 
Fecha de Ingreso: enero-2008
Ubicación: Montevideo, Uruguay
Mensajes: 3.550
Antigüedad: 16 años, 3 meses
Puntos: 845
Respuesta: Zend_Form_Element_Radio, ViewHelper y ViewScript

No te da error porque estas agregando mal el decorator, debería ser algo así:
Código PHP:
Ver original
  1. ...
  2. $this->addElement('radio', 'status', array(
  3.     'label'        => 'Status:',
  4.     'separator'    => ' ',
  5.     'multiOptions' => array('Pendiente', 'Completado'),      
  6.     'decorators'   => array(
  7.         array('ViewScript', array('viewScript' => 'elements/radio.phtml'))
  8.     )  
  9. ));
  10. ...

Saludos.
__________________
http://es.phptherightway.com/
thats us riders :)