2009年3月26日星期四

Re: [fw-mvc] remove decorator

Nope. And I have another field in the same form that removeDecorator
worked on.

$submit = new Zend_Dojo_Form_Element_Button('submit');
$submit
->setLabel('Preview Application')
->setAttrib('type', 'submit')
->setAttrib('style', 'float: left');
$submit->removeDecorator('DtDdWrapper');

Make any sense to you?


On Thu, Mar 26, 2009 at 11:43 AM, Bart McLeod <mcleod@spaceweb.nl> wrote:
> Do you use setFormElements($elements) somewhere?
>
> -Bart
>

没有评论: