(on Wednesday, 15 October 2008, 05:02 PM -0700):
>
> Even with the release of version 1.6.2 the error still persists
That's because I was unable to fix it for 1.6.2; hopefully I can get to
it in the next 1-2 weeks.
> Matthew Weier O'Phinney-3 wrote:
> >
> > -- Benjamin.Gonzales <iadvmc@yahoo.com> wrote
> > (on Thursday, 09 October 2008, 05:51 PM -0700):
> >>
> >> I'm using ZF 1.6.1
> >> And following error
> >> http://framework.zend.com/issues/browse/ZF-4274
> >> Still persists
> >
> > There is an existing bug report for this issue; I hope to get to it "any
> > time now".
> >
> >
> >> reference
> >> --------------------------------------
> >>
> >> class TestController extends Zend_Controller_Action {
> >>
> >>
> >> function indexAction () {
> >>
> >> $this->view->addHelperPath('Zend/Dojo/View/Helper/',
> >> 'Zend_Dojo_View_Helper');
> >> $form = new Zend_Dojo_Form();
> >> $form->addElement(
> >> 'CheckBox',
> >> 'checkboxValue',
> >> array(
> >> 'label' => 'Label',
> >> 'checkedValue' => 'checkedValue',
> >> 'uncheckedValue' => 'notCheckedValue',
> >> )
> >> );
> >>
> >> $form->addDecorators(array('FormElements', 'Form'));
> >> $this->view->form = $form;
> >> }
> >> }
> >>
> >>
> >> This produces the following HTML:
> >>
> >> <input name="checkboxValue" value="0" type="hidden"><input
> >> id="checkboxValue" name="checkboxValue" value="notCheckedValue"
> >> type="checkbox">
> >>
> >> The correct HTML should be:
> >>
> >> <input name="checkboxValue" value="notCheckedValue" type="hidden"><input
> >> id="checkboxValue" name="checkboxValue" value="checkedValue"
> >> type="checkbox">
> >>
> >>
> >>
> >>
> >> --
> >> View this message in context:
> >> http://www.nabble.com/Error-Zend_Dojo-CheckBox-tp19910115p19910115.html
> >> Sent from the Zend MVC mailing list archive at Nabble.com.
> >>
> >
> > --
> > Matthew Weier O'Phinney
> > Software Architect | matthew@zend.com
> > Zend Framework | http://framework.zend.com/
> >
> >
>
> --
> View this message in context: http://www.nabble.com/Error-Zend_Dojo-CheckBox-tp19910115p20004752.html
> Sent from the Zend MVC mailing list archive at Nabble.com.
>
--
Matthew Weier O'Phinney
Software Architect | matthew@zend.com
Zend Framework | http://framework.zend.com/
没有评论:
发表评论