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"
> 
> My extension module, HTML::Template::Set, allows you to do
> 
> <tmpl_set name="var1" value="defaultvalue1">
> 
> and retrieve this through the query interface. If this would be useful,
> let me know and I'll email you a copy. It predates the default= setting,
> and doesn't interact with it at all.

I've found it on cpan. It does do some I need, but it only does global
vars. I would rather have the variables in scope with the LOOPs, so i
can use a different filter inside each loop.

Any chance this will be implemented soon? I can work around with SET
names related to LOOP names, but that is ugly.

Anyway, thanks for the responses.

Marcel

> 
> Roger
> 
> ------------------------------------------------------------------------------
> All the data continuously generated in your IT infrastructure 
> contains a definitive record of customers, application performance, 
> security threats, fraudulent activity, and more. Splunk takes this 
> data and makes sense of it. IT sense. And common sense.
> http://p.sf.net/sfu/splunk-novd2d
> _______________________________________________
> Html-template-users mailing list
> Html-template-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/html-template-users


------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
Html-template-users mailing list
Html-template-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/html-template-users

Reply via email to