Re: [html-formfu] create panels for ExtJS

2009-03-25 Thread Mario Minati
Am Mittwoch 25 März 2009 12:07:46 schrieb Moritz Onken: Hello Moritz, with the great plan in mind I'm starting to implement Panel as first step, constraints will follow. Greets, Mario Minati > Am 25.03.2009 um 12:31 schrieb Mario Minati: > > Hello Moritz, > > > > my mind is very active about

Re: [html-formfu] create panels for ExtJS

2009-03-25 Thread Moritz Onken
Am 25.03.2009 um 12:31 schrieb Mario Minati: Hello Moritz, my mind is very active about the Panel, too. The idea of making Fieldset a subclass of Panel seems to be problematic as I also created a HTML::FormFu::Element::Panel inside the HTML-FormFu- ExtJS distribution which actually only re

Re: [html-formfu] create panels for ExtJS

2009-03-25 Thread Mario Minati
Hello Moritz, my mind is very active about the Panel, too. The idea of making Fieldset a subclass of Panel seems to be problematic as I also created a HTML::FormFu::Element::Panel inside the HTML-FormFu-ExtJS distribution which actually only renders it's children, so is ignored by normal Form

Re: [html-formfu] create panels for ExtJS

2009-03-25 Thread Moritz Onken
On a second thought, I think we shouldn't name it Panel but ExtJS::Panel. And we should add a corresponding HTML::FormFu::Element::ExtJS::Panel which renders the items regulary. When I wrote FormFu::ExtJS I had always in mind that it should work, even if we remove the ::ExtJS from new(). It

Re: [html-formfu] create panels for ExtJS

2009-03-24 Thread Moritz Onken
I think we should make Fieldset a subclass of your Panel class. Just copy the code from Fieldset and put in your code and name it Panel and create new class Fieldset which sublasses from Panel. moritz Am 24.03.2009 um 15:07 schrieb Mario Minati: Hi Moritz, I'm wondering if it would be a

Re: [html-formfu] create panels for ExtJS

2009-03-24 Thread Mario Minati
Hi Moritz, I'm wondering if it would be a better idea to make the xtype of fieldset configurable as a panel might be seen as fieldset. I would like to create a class that can handle more than just a plain panel. Currently I'm useing accordion and tabpanel and still have some custom Ext panel l

Re: [html-formfu] create panels for ExtJS

2009-03-24 Thread Moritz Onken
Sounds good to me. Please make sure that tests are present. Finally TabPanels come to FormFu::ExtJS :-) Moritz Am 24.03.2009 um 03:34 schrieb Mario Minati: Currently I don't see any element which renders as a ExtJS panel. So I'm creating one, which can have a given xtype and has children e