Re: [fw-general] forms, ini files and decorators

2009-03-24 Thread Ian Spare
ah.. this is slowly beginning to dawn on me now! I seem to have it mostly straight apart from subforms, I can't seem to control subform decorators from the ini file so my subform is getting wrapped in dl-dt- dd etc. On 24 Mar 2009, at 12:14, Ian Spare wrote: I have to say this isn't wor

Re: [fw-general] forms, ini files and decorators

2009-03-24 Thread Ian Spare
I have to say this isn't working for me and I have had no success whatsoever setting decorators on a per element basis in an ini file, using setDecorators from the form or controller it's trivial. My form is a collection of subforms although I don't see if that's relevant in any way. I

Re: [fw-general] forms, ini files and decorators

2009-03-19 Thread Matthew Weier O'Phinney
-- Ian Spare wrote (on Thursday, 19 March 2009, 07:37 AM +0100): > I'm struggling a little to setup an ini file the way I want. > > I want to specify some decorators and just can't seem to do it so I > ended up grabbing the element and modifying it like this : > > $buttonDecorators = array('

[fw-general] forms, ini files and decorators

2009-03-18 Thread Ian Spare
Hi I'm struggling a little to setup an ini file the way I want. I want to specify some decorators and just can't seem to do it so I ended up grabbing the element and modifying it like this : $buttonDecorators = array('ViewHelper', array(array('data' => 'HtmlTag'), array('tag' => 'td', 'cla