Hi all,
I'm a newbie with Velocity.
I'd like to have a template calling other templates. For example, the basic
templates is something like that :
--------------------------------------
MyTage.vm :
<p>
$include_title
<br>
$include_text
------------------------------------
And two other templates :
--------------------------------
Title.vm :
<font color="red" size="16">Title : $theTitle</font>
-------------------------------
Text.vm
<font color="blue" size="10">Here is the text : $text</font>
--------------------------------
I'd like to have Text.java and Title.java exporting their own context.
Is it possible to do that ? If yes, how ??
I already tried to use ScreenLoader in the Text.java but this doesn't work.
It includes the content of myPage.vm.
Thanks for your help.
Herv�
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]