Re: [html-formfu] HTML-FormFu-DBIC

2008-07-31 Thread Carl Franks
2008/7/28 Marcus Ramberg <[EMAIL PROTECTED]>: > Hi. > > What's required to get the -DBIC collection of formfu integrations to CPAN? > I'm particularily dependent on HTML::FormFu::Element::DBIC::Select and > ::Constraint::DBIC::Unique. To be honest, I'd forgotten the trunk/HTML-FormFu-DBIC/ directo

Re: [html-formfu] HTML-FormFu-DBIC

2007-09-28 Thread Mario Minati
On Friday 28 September 2007 16:00:00 Zbigniew Lukasiak wrote: > On 9/28/07, Mario Minati <[EMAIL PROTECTED]> wrote: > > From your code I thought yo have a multiselect listbox. > > If you set multiple on a Select box it becomes a multiselect listbox :) > > - type: Select > name: tags > multi

Re: [html-formfu] HTML-FormFu-DBIC

2007-09-28 Thread Zbigniew Lukasiak
On 9/28/07, Mario Minati <[EMAIL PROTECTED]> wrote: > From your code I thought yo have a multiselect listbox. If you set multiple on a Select box it becomes a multiselect listbox :) - type: Select name: tags multiple: 1 -- Zbigniew Lukasiak http://brudnopis.blogspot.com/ __

Re: [html-formfu] HTML-FormFu-DBIC

2007-09-28 Thread Mario Minati
On Friday 28 September 2007 10:35:43 Zbigniew Lukasiak wrote: > First - hey Carl - I am waiting for you to approve my design before > commiting. > > On 9/27/07, Mario Minati <[EMAIL PROTECTED]> wrote: > > You are removing and recreating the related rows, what do you think of a > > loop removing onl

Re: [html-formfu] HTML-FormFu-DBIC

2007-09-28 Thread Mario Minati
On Friday 28 September 2007 12:08:23 Zbigniew Lukasiak wrote: > The next on my ToDo list are the automatic constraints and then > automatic config generation from a DBIC table. I think I'll start by > adding a method on the form with a name like > 'add_automatic_dbic_constraints' that would use in

Re: [html-formfu] HTML-FormFu-DBIC

2007-09-28 Thread Zbigniew Lukasiak
The next on my ToDo list are the automatic constraints and then automatic config generation from a DBIC table. I think I'll start by adding a method on the form with a name like 'add_automatic_dbic_constraints' that would use introspection to go through all fields and add the constraints on them.

Re: [html-formfu] HTML-FormFu-DBIC

2007-09-28 Thread Zbigniew Lukasiak
First - hey Carl - I am waiting for you to approve my design before commiting. On 9/27/07, Mario Minati <[EMAIL PROTECTED]> wrote: > You are removing and recreating the related rows, what do you think of a loop > removing only records that are no longer required and create new ones. > I'm thinking

Re: [html-formfu] HTML-FormFu-DBIC

2007-09-27 Thread Mario Minati
On Thursday 27 September 2007 10:24:58 Zbigniew Lukasiak wrote: > On 9/26/07, Mario Minati <[EMAIL PROTECTED]> wrote: > > As I'm not an DBIC expert it's realy hard to get what happens when you > > dive into it, so my brain stopped following at > > $dbic->$method( [ $objects_rs->all ] ); > >

Re: [html-formfu] HTML-FormFu-DBIC

2007-09-27 Thread Zbigniew Lukasiak
On 9/26/07, Mario Minati <[EMAIL PROTECTED]> wrote: > As I'm not an DBIC expert it's realy hard to get what happens when you dive > into it, so my brain stopped following at > $dbic->$method( [ $objects_rs->all ] ); > Are you setting multiple User objects (for where Selectbox) for the curre

Re: [html-formfu] HTML-FormFu-DBIC

2007-09-26 Thread Mario Minati
On Wednesday 26 September 2007 20:37:29 Zbigniew Lukasiak wrote: > Hi there, > > I've added support for the has_many and many_to_many relations to > fill_formfu_values and populate_from_formfu (with some tests - but > it's still a bit of a hack). For me the historic baggage of having > those method