velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brinkman, Shawn" <>
Subject Global Context
Date Thu, 09 Dec 2004 17:12:17 GMT

Is there a way to set a global context. I using tiles with velocity and I can't pass a variable
into all my vm files.

<!DO TYPE tiles-definitions PUBLIC
       "-//Apache Software Foundation//DTD Tiles Configuration 1.1//EN"
    <definition name=".site" path="/templates/master.vm">
        <put name="title" value="One" />
        <put name="head" value="/templates/comps/header.vm" />
        <put name="left" value="/templates/comps/left_nav.vm" />
        <put name="footer" value="/templates/comps/footer.vm" />

    <definition name="" extends=".site">
		<put name="body" value="/templates/pages/home.vm" />


Thank you

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message