At 08:13 PM 6/27/02 -0400, Sam Tregar wrote:
>On Wed, 26 Jun 2002, Peter Scott wrote:
>
> > > my $foo = "var1";
> > > $template->param("x.$foo" => "bar");
> >
> > Color me dense, but what would the HTML side look like in that case?
>
> <tmpl_var x.var1>
>
>Which could be in a block like this if there are fixed set of
>possibilities:
>
> <tmpl_if x.var1><tmpl_var x.var1></tmpl_if>
> <tmpl_if x.var2><tmpl_var x.var2></tmpl_if>
> <tmpl_if x.var3><tmpl_var x.var3></tmpl_if>
Ah, thought so. I'm sorry, but I'm looking at something where the set
of possibilities is virtually the entire namespace. And then there's
the loop issue. Looking at the source now to see if I can figure out
any kind of patch or subclassing.
--
Peter Scott
Pacific Systems Design Technologies
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]