Default decorator for Zend_Form_Element_Radio element is
Zend_Form_Decorator_ViewHelper.

Unfortunately, in it's render() method the constructor of the ViewHelper is
called only with 4 parameters (line 113), while constructor of
Zend_View_Helper_FormRadio has 5 parameters. The last one is called 'lipset'
and it is used to separate generated radio buttons. By default, 'lipset' is
set to <br />.

So if you want to have 2 radio buttons in one line in your Zend_Form, it
can't be done without custom decorator, which slightly modifies ViewHelper
decorator. 

But this seems to be a bug to me. 

-- 
View this message in context: 
http://www.nabble.com/Zend_Form_Element_Radio-%2B-ViewHelper-problem-tp15769047s16154p15769047.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to