Re: [html-formfu] HTML::FormFu::Element::DBIC::Select for review

2007-09-22 Thread Mario Minati
On Wednesday 19 September 2007 18:54:25 Zbigniew Lukasiak wrote: > On 9/19/07, Mario Minati <[EMAIL PROTECTED]> wrote: > > On Wednesday 19 September 2007 14:56:16 Zbigniew Lukasiak wrote: > > > This argument gets a bit out of proportions - so I will not extend it. > > > > Didn't want to set you up.

Re: [html-formfu] HTML::FormFu::Element::DBIC::Select for review

2007-09-22 Thread Mario Minati
On Thursday 20 September 2007 11:08:51 Zbigniew Lukasiak wrote: > Hi Mario, > > Just today I found a quite concrete example. Form for editing a > record - with a 'has_many' relation. I need to load all the records > from the related table as options to a SELECT - and then I would like > to *set on

Re: [html-formfu] Slight issue with DBIx-Class-HTML-FormFu

2007-09-22 Thread Mario Minati
On Friday 21 September 2007 19:46:00 Brian Cassidy wrote: > This is a bug report/warning to those using DBIx-Class-HTML-FormFu. /DO > NOT/ name any element in your page "delete" if you plan on using > > $obj->fill_formfu_values( $form ); > > The component checks if $obj->can( $field ) then calls $o

Re: [html-formfu] Subclassing HTML::FormFu::Element::Select

2007-09-22 Thread Mario Minati
On Saturday 22 September 2007 17:19:22 Zbigniew Lukasiak wrote: > Hi Carl, > > I've tried to subclass HTML::FormFu::Element::Select to experiment a > bit with DBIC and FormFu integration, but I failed. Here is what I > done: > > The script: > > use HTML::FormFu; > > my $form = HTML::FormFu->new; >

Re: [html-formfu] Adding balloon hints to fields

2007-09-22 Thread Mario Minati
On Saturday 22 September 2007 07:22:38 Thomas L. Shinnick wrote: > Is this the best way to add a balloon hint popup to both field and > label? I'm using the examples/vertically-aligned.css for testing, > and so the 'container' is a . > > elements: >- type: Text > name: countr

[html-formfu] Subclassing HTML::FormFu::Element::Select

2007-09-22 Thread Zbigniew Lukasiak
Hi Carl, I've tried to subclass HTML::FormFu::Element::Select to experiment a bit with DBIC and FormFu integration, but I failed. Here is what I done: The script: use HTML::FormFu; my $form = HTML::FormFu->new; $form->load_config_file('t/var/config.yml'); warn $form->render; The config: ---