[Catalyst] PATCH for C::P::FormValidator
Andrew Bramble
andrew.bramble at omnilab.com.au
Thu Jun 8 11:59:08 CEST 2006
Scott , I was just about to submit a different patch for C::P::FormValidator
when I saw yours. Sadly I don't think the two would play nicely together.
Maybe it's worth considering a C::P::FormValidator::Sweet or similar and leave
the original as vanilla as possible.
My patch is for using named profiles (also taken from config) rather than
passing an entire profile hash to $c->form.
On Saturday 03 June 2006 05:39, Scott Thomson wrote:
> Hi Folks,
>
> I use the same 'msgs' config for all the form validations in the
> current application I'm involved in and it was getting tedious to type
> these out every time, so I created the attached patch for
> C::P::FormValidator which allows the basic 'msgs' config to be taken
> from the application config.
>
> If this is deemed useful I'll create some tests and patch the POD.
>
> Cheers,
>
> Scott
More information about the Catalyst
mailing list