[html-formfu] new default_args() method - deprecates element_defaults()

2008-08-01 Thread Carl Franks
I've added a new default_args() method - which basically does what element_defaults() did, but also for constraints, inflators, etc. element_defaults() still works for now - it just passes it's args to default_args()->{elements} but it issues a warning, and will be removed in a future version. He

Re: [html-formfu] Fwd: Model::DBIC: creating many new rows

2008-08-01 Thread Carl Franks
2008/8/1 Moritz Onken <[EMAIL PROTECTED]>: >>> >> >> Ah, yes - it's limited by the number of Rep blocks, which is set by the >> count. >> So yes, you can add a hidden field for the counter_name(), and have a >> constraint on it. >> >> Okay, stick with the way you coded it, but maybe just rename >>

Re: [html-formfu] Fwd: Model::DBIC: creating many new rows

2008-08-01 Thread Moritz Onken
Ah, yes - it's limited by the number of Rep blocks, which is set by the count. So yes, you can add a hidden field for the counter_name(), and have a constraint on it. Okay, stick with the way you coded it, but maybe just rename 'new_empty_rows' to 'new_empty_row_multi' to indicate more than

Re: [html-formfu] Fwd: Model::DBIC: creating many new rows

2008-08-01 Thread Carl Franks
2008/8/1 Moritz Onken <[EMAIL PROTECTED]>: >>> >> >> Hmm, not sure if you tried running the test ;) the tests failed, the >> count was out - and I don't think the .pm patch does what it should. >> But anyway, moving on... >> >> The only thing I'm not keen on is the similarity between the method >>

Re: [html-formfu] HTML::FormFu::Inflator::DateTime

2008-08-01 Thread Carl Franks
2008/7/31 Will Hawes <[EMAIL PROTECTED]>: > The docs for HTML::FormFu::Inflator::DateTime have the following > (slightly boiled down) example: > > - type: Text >name: end_time >inflators: > - type: DateTime >parser: > regex: '^ (\d{2}) - (\d{2}

Re: [html-formfu] Fwd: Model::DBIC: creating many new rows

2008-08-01 Thread Moritz Onken
Hmm, not sure if you tried running the test ;) the tests failed, the count was out - and I don't think the .pm patch does what it should. But anyway, moving on... The only thing I'm not keen on is the similarity between the method names 'new_empty_row' and 'new_empty_rows'. Too confusing. Cur

Re: [html-formfu] Fwd: Model::DBIC: creating many new rows

2008-08-01 Thread Carl Franks
2008/7/25 Moritz Onken <[EMAIL PROTECTED]>: > > referring to this post: > > http://lists.scsys.co.uk/pipermail/html-formfu/2008-April/001158.html > > I created the following patch which allows the user to specify a > new_empty_rows config option. > This allows the user to add as many new rows as he

Re: [html-formfu] Fwd: Model::DBIC: creating many new rows

2008-08-01 Thread Moritz Onken
Hi, referring to this post: http://lists.scsys.co.uk/pipermail/html-formfu/2008-April/001158.html I created the following patch which allows the user to specify a new_empty_rows config option. This allows the user to add as many new rows as he wishes. He can still restrict it by putting a

Re: [html-formfu] new formfu.org domain

2008-08-01 Thread Carl Franks
2008/8/1 Moritz Onken <[EMAIL PROTECTED]>: > It would be great to have some kind of online editor where you > can edit or create a formfu config file and view the result > in real time. > These files can then be stored as examples for other people. I had been hoping to have a "online-form-builder"

Re: [html-formfu] new formfu.org domain

2008-08-01 Thread Moritz Onken
It would be great to have some kind of online editor where you can edit or create a formfu config file and view the result in real time. These files can then be stored as examples for other people. ___ HTML-FormFu mailing list HTML-FormFu@lists.scsy