Re: [Catalyst] DateTime in session- breaks during login/logout

2007-06-14 Thread Adam Bartosik
If you don't have DateTime::Locale version 0.34, please try that. There was a bug in the Storable freeze/thaw handling. Great, works, thanks! :) /looks like i need to do some cpanplus upgrades on linuxes - deployment on freebsd machines is easier, you have more cpan packages in ports and

[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
You should check out the FormValidator plugin, which is built on top of Data::FormValidator. It lets you specify a profile for request parameter validation and passes back a results object, which contains the validated values of parameters or their status otherwise (missing, invalid).

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

[Catalyst] Fwd: [gmane.comp.web.catalyst.general] a question on Catalyst::Plugin::Authenticatin

2007-06-14 Thread Fayland Lam
-- Forwarded message -- From: chylli [EMAIL PROTECTED] Date: Jun 15, 2007 2:50 AM Subject: [gmane.comp.web.catalyst.general] a question on Catalyst::Plugin::Authenticatin To: [EMAIL PROTECTED] -- Thanks Regards Chylli -- Forwarded message -- From: chylli

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