-- Malfojan <[EMAIL PROTECTED]> wrote
(on Friday, 29 February 2008, 05:40 PM -0800):
> 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. 

Agreed; I'll file a report in JIRA and follow up on it.

-- 
Matthew Weier O'Phinney
PHP Developer            | [EMAIL PROTECTED]
Zend - The PHP Company   | http://www.zend.com/

Reply via email to