All pastes #971160 Raw Edit

Unnamed

public text v1 · immutable
·published 2008-04-04 15:34 UTC
rendered paste body
but, this code doesn't work:
class UsuariosCadastrarForm extends SGCI_Form {
	
	function __construct($options = null) {
		
		parent::__construct($options);

		$this->addPrefixPath('CBr_Form', 'CBR/Form', 'decorator');
		
		$this->setMethod('post')
        	 ->setAttrib('id', 'login');
        	 
	       	$div = new Zend_Form_Element('div', array('disableLoadDefaultDecorators' => true));
	        $div->addDecorator('Div', array('id' => 'dv'));
        
	        $this->addElements( array (
		        $div,
	        ));
	}
}

The error message is:
Plugin by name Div was not found in the registry.