Hi Alex,
I dont think anyone has responded yet... turning off die_on_bad_params
is a common thing - some say it should be the default behaviour.** You
dont really need it.
cheers,
Mathew Robertson
** ie: the GUI developer may choose to not use some params -> the output
shouldn't die simply because of this choice. Alternatively, there was
some discussion previously regarding a "die_on_unset_params" which
causes your page to die when the GUI developer uses an unset param,
which some people find more useful.
Alex Teslik wrote:
On Mon, 14 Apr 2008 23:55:27 +0100, Roger Burton West wrote
On Mon, Apr 14, 2008 at 02:53:54PM -0800, Alex Teslik wrote:
HTML::Template : Attempt to set nonexistent parameter 'outer_var' - this
parameter name doesn't match any declarations in the template file :
(die_on_bad_params => 1) at
/usr/local/lib/perl5/site_perl/5.8.5/HTML/Template.pm 3068 at at test.pl
line 30
Turn off die_on_bad_params.
R
Hi Roger,
Thanks again. Unfortunately, I don't think that solution is going to work
for me - I need to run die_on_bad_params to catch errors. I guess I'm just
wondering if this behavior also seems broken to anyone else?
Thanks,
Alex
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Html-template-users mailing list
Html-template-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/html-template-users
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Html-template-users mailing list
Html-template-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/html-template-users