see I have two templates. wrapper.tt2 and inside.tt2
wrapper.tt2
[% test.push('wrapper.A');
test.push('wrapper.B');
content;
test.push('wrapper.C');
test.push('wrapper.D');
%]
inside.tt2
[% test = ['AA']; %]
[% WRAPPER wrapper.tt2;
test.push('inside.A');
test.push('inside.B');
END; %]
[% USE Dumper; Dumper.dump(test); %]
and
$> tpage inside.tt2
$VAR1 = [
'AA',
'inside.A',
'inside.B',
'wrapper.A',
'wrapper.B',
'wrapper.C',
'wrapper.D'
];
I really want is AA, wrapper.A, wrapper.B, inside.A, inside.B,
wrapper.C, wrapper.D
the only choice to use INCLUDE instead of WRAPPER? or we have another
choice/option?
Thanks.
--
Fayland Lam // http://www.fayland.org/
Foorum based on Catalyst // http://www.foorumbbs.com/
_______________________________________________
templates mailing list
[email protected]
http://mail.template-toolkit.org/mailman/listinfo/templates