Re: [fw-general] Zend Form DisplayGroup remove decorator from factory...

2009-11-18 Thread Саша Стаменковић
Why do I get this dt's at all, how can I use them, they are alwayt empty? I set 'legend' => 'Something' in my display group and legend inside fieldset tag. What for do I need ? Regards, Saša Stamenković On Wed, Nov 18, 2009 at 9:04 AM, Саша Стаменковић wrote: > Aaargh, now I get invalid xhtml

Re: [fw-general] Zend Form DisplayGroup remove decorator from factory...

2009-11-18 Thread Саша Стаменковић
Aaargh, now I get invalid xhtml. Will override DispalyGroup. Regards, Saša Stamenković On Wed, Nov 18, 2009 at 8:51 AM, Саша Стаменковић wrote: > Removing 'DtDdWrapper' did the job. > > Regards, > Saša Stamenković > > > > On Tue, Nov 17, 2009 at 7:53 PM, Саша Стаменковић wrote: > >> Hehum, afte

Re: [fw-general] Zend Form DisplayGroup remove decorator from factory...

2009-11-17 Thread Саша Стаменковић
Removing 'DtDdWrapper' did the job. Regards, Saša Stamenković On Tue, Nov 17, 2009 at 7:53 PM, Саша Стаменковић wrote: > Hehum, after this: > > ... > )->addDisplayGroup( > array( > 'brand', > 'model', > 'year_from', > '

Re: [fw-general] Zend Form DisplayGroup remove decorator from factory...

2009-11-17 Thread Саша Стаменковић
Hehum, after this: ... )->addDisplayGroup( array( 'brand', 'model', 'year_from', 'year_to', 'price_from', 'price_to', 'kilometer_from', 'kilometer_to'

Re: [fw-general] Zend Form DisplayGroup remove decorator from factory...

2009-11-17 Thread Саша Стаменковић
Naah, a little drag :) I didn't like factory methods at first, didn't like strings instead constants..., but now I just don't want to break the chain. Will do it like you said $group = $form->getDisplayGroup(' group1'); $group->removeDecorator('Label'); Thanks for the fast response! Regard

Re: [fw-general] Zend Form DisplayGroup remove decorator from factory...

2009-11-17 Thread Matthew Weier O'Phinney
-- umpirsky wrote (on Tuesday, 17 November 2009, 10:28 AM -0800): > I use factory method Zend_Form::addDisplayGroup() to add display group, and > it works great: > > ... > )->addDisplayGroup( > array( > 'el1', > 'el2', > ... >

[fw-general] Zend Form DisplayGroup remove decorator from factory...

2009-11-17 Thread umpirsky
Hi. I use factory method Zend_Form::addDisplayGroup() to add display group, and it works great: ... )->addDisplayGroup( array( 'el1', 'el2', ... 'eln' ), 'group1')... I want t