If TMPL_INCLUDE is processed first, does that mean
I can't do this? (Using HTML::Template::Expr)

<TMPL_IF EXPR="include_param = 'x'">
        <TMPL_INCLUDE NAME="<TMPL_VAR NAME=x>"
</TMPL_IF>

On Wed, Jan 07, 2004 at 02:48:35PM -0500, Jason Purdy wrote:
> My guess is that it's trying to do the INCLUDE *BEFORE* doing the 
> variable substitution.
> 
> So if you're stuck on making the included file dynamic, I would 
> recommend a two-sweep approach, which I see Timm Murray's post addresses.
> 
> Cheers,
> 
> Jason
> 
> Todd Chapman wrote:
> 
> >I would like to pass a parameter to a template that
> >would be used to include another template. This
> >syntax does not seem to be valid:
> >
> > <TMPL_INCLUDE NAME="<TMPL_VAR NAME=include_param>">
> >
> >How can I accomplish this?
> >
> >Thanks.
> >
> >-Todd
> >
> >
> >
> >-------------------------------------------------------
> >This SF.net email is sponsored by: Perforce Software.
> >Perforce is the Fast Software Configuration Management System offering
> >advanced branching capabilities and atomic changes on 50+ platforms.
> >Free Eval! http://www.perforce.com/perforce/loadprog.html
> >_______________________________________________
> >Html-template-users mailing list
> >[EMAIL PROTECTED]
> >https://lists.sourceforge.net/lists/listinfo/html-template-users


-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
_______________________________________________
Html-template-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/html-template-users

Reply via email to