[cgiapp] [patch] CAP::MessageStack + CAP::FormState

Michael Graham magog at the-wire.com
Fri Oct 23 17:10:44 EDT 2009


> Perhaps a better approach would be to have an additional
> configuration parameter in the Plugins that if set, would reset
> die_on_bad_params via the passed in tmpl_params in that callback.

Hmmm... I don't use die_on_bad_params myself, but I suspect that people
who use it would prefer that the system throw an error, rather than
silently overriding their config option.

As an alternative to all these widespread code changes, can I propose
that people who use die_on_bad_params simply add the missing parameters
to their templates in HTML comments?

Something like:

<!-- <TMPL_VAR form_state_param> -->


Michael



-- 
Michael Graham <magog at the-wire.com>


More information about the cgiapp mailing list