Re: [Catalyst] Forms generation

2007-06-15 Thread Leo Cacciari
Il giorno gio, 14/06/2007 alle 09.20 -0700, Bill Moseley ha scritto: That was my thinking. http://search.cpan.org/~hank/Form-Processor-0.10/ still needs a few tweaks as needs arise. There's a simple demo Catalyst application in the t/example directory of:

Re: [Catalyst] Forms generation

2007-06-15 Thread Matt S Trout
On Thu, Jun 14, 2007 at 08:03:53PM -0700, [EMAIL PROTECTED] wrote: i'll probably realize that as soon as i try to swap DFV for RHTMF or other, and wish i had abstracted or adopted a general API, but until then i'm happy enough with models returning DFV validation closures, et al.. but only

Re: [Catalyst] Forms generation

2007-06-15 Thread Daniel McBrearty
i took a look at the Reaction repo yesterday. I see the docs and examples have come a long way. When you first showed me I was quite new to cat and it was young, so I was just baffled. I'm looking forward to having time to play with it again. On 6/15/07, Matt S Trout [EMAIL PROTECTED] wrote:

Re: [Catalyst] Forms generation

2007-06-15 Thread Bill Moseley
On Fri, Jun 15, 2007 at 10:35:48AM +0200, Leo Cacciari wrote: yes, someone suggested it yesterday and I downloaded and installed it, I'll try it asap :) By the way, there is an error in the 10password.t test: Since the form field in weakened, you can not create the object to be stored there

[Catalyst] Forms generation

2007-06-14 Thread Leo Cacciari
Hi, I'd like to ask the list wisdom for a somehow philosophical problem connected with this mail subject. Let us start by considering the CURD example contained in Catalyst::Manual::Tutorial::AdvancedCRUD. In this example, the user enters his or her data using a form generated by the

Re: [Catalyst] Forms generation

2007-06-14 Thread Eden Cardim
On 6/14/07, Leo Cacciari [EMAIL PROTECTED] wrote: What do the list members thinks about this? How do you generate your forms? Is there something like this already out, and I'm to stupid to find it? Reaction does exactly what you mentioned: http://code2.0beta.co.uk/reaction/svn

Re: [Catalyst] Forms generation

2007-06-14 Thread Strader, Andrew
). Date: Thu, 14 Jun 2007 11:34:52 +0200 From: Leo Cacciari [EMAIL PROTECTED] Subject: [Catalyst] Forms generation To: The elegant MVC web framework catalyst@lists.rawmode.org Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=us-ascii Hi, I'd like to ask

Re: [Catalyst] Forms generation

2007-06-14 Thread Bill Moseley
On Thu, Jun 14, 2007 at 11:34:52AM +0200, Leo Cacciari wrote: Let us start by considering the CURD example contained in Catalyst::Manual::Tutorial::AdvancedCRUD. In this example, the user enters his or her data using a form generated by the controller using HTML::Widget. While this approach

Re: [Catalyst] Forms generation

2007-06-14 Thread Michael Reece
On Jun 14, 2007, at 9:20 AM, Bill Moseley wrote: On Thu, Jun 14, 2007 at 11:34:52AM +0200, Leo Cacciari wrote: As I see it, the controller should tell the view 'I want the user entering the following data, each one with its data-type, and obeying the following constraints. I take that a

Re: [Catalyst] Forms generation

2007-06-14 Thread Bill Moseley
On Thu, Jun 14, 2007 at 11:33:17AM -0700, Michael Reece wrote: i've been looking at Form::Processor and similar, but the tricky bit for me is that i want the view to be both responsible for generating the HTML and deciding which fields belong on which form, without an intermediate form

Re: [Catalyst] Forms generation

2007-06-14 Thread mreece
On Thu, Jun 14, 2007 at 11:33:17AM -0700, Michael Reece wrote: i've been looking at Form::Processor and similar, but the tricky bit for me is that i want the view to be both responsible for generating the HTML and deciding which fields belong on which form, without an intermediate form object