[html-formfu] Re: DBIC::Validation::FormFu RFC & Element::Date patch

Jonas Alves jonas.alves at gmail.com
Fri Oct 19 17:29:31 GMT 2007


On 18/10/2007, Jonas Alves <jonas.alves at gmail.com> wrote:
>
>
> The only problem I had was with Element::Date. By default E::D params are
> returned like this:
> {
>     'date.day' =3D> 1,
>     'date.month' =3D> 1,
>     ' date.year' =3D> 2007,
> }
> But it looks like that DBIC deletes all parameters with a dot in the name
> so I used C::Plugin::Params::Nested
> to turn the params into this:
> {
>     date =3D> {
>         day =3D> 1,
>         month =3D> 2,
>         year =3D> 2007,
>     }
> }
> I wrote a patch to Element::Date to accept this struct as input too. This
> patch goes attached.
>

Hi Carl,
I need this patch in Element::Date, is it not good?

-- =

Jonas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/html-formfu/attachments/20071019/58=
95732f/attachment.htm


More information about the HTML-FormFu mailing list