Hi all, I have created a form class that extends Zend_Dojo_Form. I have various elements (i.e. ComboBox, DateTextBox etc) in the form including a SubmitButton and they all display perfectly in ZF1.6.1.
My problem has arrisen since upgarading to ZF 1.7. Since the upgrade the SubmitButton is not displaying correctly (Everything else works fine). Below is the code involved: $this->addElement('SubmitButton', 'submit', array( 'label' => 'Submit!!!!!!', 'decorators' => $this->_buttonElementDecorator // returns array ('DijitElement') )); $this->addDisplayGroup( array('submit'), 'datasubmit', array( 'disableLoadDefaultDecorators' => true, 'decorators' => $this->_buttonGroupDecorator, // returns array ('FormElements', 'Fieldset') 'class' => 'submit' ) ); This results in the following HTML being generated: <input content="Submit!!!!!!" id="submit" name="submit" value="" type="submit" /></fieldset></form> Note the 'label' value from the addElement is placed within a 'content' attribute in the HTML but the 'value' remains empty...?! Am I doing something wrong? Apologies if so... This works perfectly fine in ZF 1.6.1. I notice the Dojo CDN has changed to Google in the latest release but Im unsure of the cause... Both Zend_Dojo_View_Helper_SubmitButton and Zend_Dojo_View_Helper_Button appear to be exactly the same in both versions... Thanks, David -- View this message in context: http://www.nabble.com/ZF-1.7---Zend-Dojo-SubmitButton-Bug--tp20680984p20680984.html Sent from the Zend Framework mailing list archive at Nabble.com.