[Catalyst-dev] RFC: Changing Tutorial From HTML::Widget to C::C::FormBuilder

Christopher H. Laco claco at chrislaco.com
Wed Feb 28 23:45:25 GMT 2007


Kieren Diment wrote:
> On 28/02/07, hkclark at gmail.com <hkclark at gmail.com> wrote:
>>
>> 2) Catalyst::Controller::FormBuilder
> =

> =

> =

> I'd go with this, as it's been around for a while and is pretty well know=
n.
> =

> <wishlist>
> =

> You know, it would be really nice if someone wrote a short tutorial
> outlining how to customise the javascript validation stuff (mainly so that
> validation messages could be inline to the form rather than in an alert
> box).
> =

> </wishlist>

Yeah, in the end, it was much easier to just not use FB for validation.
I went with the seperation of duties in a base class:

	form (built by FB)
	validate (done with FormValidator::Simple, or D::FV if you want)
	errors (pulled in from FV:S messages/results

-=3DChris

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: OpenPGP digital signature
Url : http://lists.scsys.co.uk/pipermail/catalyst-dev/attachments/20070228/=
17392c4c/signature.pgp


More information about the Catalyst-dev mailing list