Moritz Onken wrote:
I created a DateTime deflator in the form config file but this deflator isn't called on defaults_from_model. I can't find a deflator call in the source of HTML::FormFu::Model::DBIC. Is supposed to be? I could add the deflator to the dbic table but I prefer the formfu deflator.

I may be mistaken, but going /from/ the model would mean that inflators are called. Saving /to/ the model is when deflation would happen.

As a diagram:

+------+ <--- ( defaults_from_model/inflate ) ---- +-------+
| FORM |                                           | MODEL |
+------+ ---- ( save_to_model/deflate ) ---------> +-------+

-Brian


_______________________________________________
HTML-FormFu mailing list
[email protected]
http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/html-formfu

Reply via email to