The answer is, it seems, $obj.field, and not ${obj.field}.
Lee Goddard
Internet Application Analysis/Development, European Aviation Safety
Agency
T: +49 221 89990 3221
E: [EMAIL PROTECTED]
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Goddard Lee
> Sent: Thursday, October 20, 2005 11:14 AM
> To: [email protected]
> Subject: [Templates] INSERT directive?
>
>
> # Sorry previously posted this as INCLUDE, but should
> s/INCLUDE/INSERT/gi
>
> Is it possible to pass to INSERT a file specified in a variable?
>
> Neither [% INSERT obj.field %] [% INSERT ${obj.field} %]
> seems to work: please help!
>
> Lee Goddard
> Internet Application Analysis/Development, European Aviation
> Safety Agency
> T: +49 221 89990 3221
> E: [EMAIL PROTECTED]
>
> -----Original Message-----
>
> From: Goddard Lee
> Sent: Thursday, October 20, 2005 10:56 AM
> To: '[email protected]'
> Subject: INCLUDE directive?
>
>
> Is it possible to pass to INCLUDE a file specified in a variable?
>
> Neither [% INCLUDE obj.field %] [% INCLUDE ${obj.field} %] seems to
> work: please help!
>
> _______________________________________________
> templates mailing list
> [email protected]
> http://lists.template-toolkit.org/mailman/listinfo/templates
>
_______________________________________________
templates mailing list
[email protected]
http://lists.template-toolkit.org/mailman/listinfo/templates