Re: [htmltmpl] retrieving default values

2011-11-19 Thread Marcel van Dorp
On 11/17/2011 10:03 PM, Marcel van Dorp wrote: > On 11/17/2011 09:15 PM, Roger Burton West wrote: >> On Thu, Nov 17, 2011 at 05:59:27PM +0100, Marcel van Dorp wrote: >>> I would like to retrieve the default value from the template, eg. >>> TMPL_VAR NAME="VAR

[htmltmpl] Fwd: Re: retrieving default values

2011-11-17 Thread Marcel van Dorp
ransfer-Encoding: 7bit On 11/17/2011 09:15 PM, Roger Burton West wrote: > On Thu, Nov 17, 2011 at 05:59:27PM +0100, Marcel van Dorp wrote: >> I would like to retrieve the default value from the template, eg. >> TMPL_VAR NAME="VAR1" DEFAULT="DEFAULTVALUE1" >

[htmltmpl] retrieving default values

2011-11-17 Thread Marcel van Dorp
Hi list, I'm new here, so please be kind. I would like to retrieve the default value from the template, eg. TMPL_VAR NAME="VAR1" DEFAULT="DEFAULTVALUE1" I would like to process this value, but my $value = $tpl->param('VAR1'); does not give me the value "DEFAULTVALUE1" I cannot find another w