2009/3/20 Manu Kaul <manu.k...@gmail.com>: > Hi guys, > I am just about to start my first FormFu form to insert an entry into the > DB. Was going to follow > --> http://www.catalystframework.org/calendar/2007/20 as a tutorial. > Guys I was planning to write my configuration file in JSON format. Is there > something special that I have to do in Catalyst to load a config file of > format .json or would it automatically > understand that the config file is in JSON format and use that for FormFu?
FormFu uses Config::Any - so any file type it knows about will load. Any it doesn't, it's quite easy to write a Config::Any extension for. Be aware some things have changed since that tutorial... $form->save_to_model is now $form->model->update $form->defaults_from_model is now $form->model->default_values Carl _______________________________________________ HTML-FormFu mailing list HTML-FormFu@lists.scsys.co.uk http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/html-formfu