Aaron Trevena wrote:
My plan is to move to Data::FormValidator and provide an
untaint_columns method that generates the appropriate profile, then
change the internals of the do_update action - moving validation using
D::FV into Maypole::Model::Base, but leaving the create_from_cgi and
update_from_cgi methods to each particular model - in the case of
Model::CDBI I'll replace the FromCGI calls with some explicit and
documented code that will split checking of relations and
updating/adding the data into two explicit and seperate steps.
Hi Aaron,
I've put all the files I think are relevant to my DFV implementation at:
http://www.mrc-lmb.cam.ac.uk/dhoworth/dfv/
My dfv profiles are generated by my loader. QD1.pm is the output from
the loader. The model, the FormView module and the templates display and
process forms and profiles between them.
Cheers, Dave
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Maypole-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/maypole-devel