Hi,
i'm writing two decorator for jetspeed and i need to have
some "common" code. I use velocity decorators and i have
created:

- commons/css/...
- commons/decorator-macros.vm
- layout1/..
- layout2/..

Now, on layout1/header.vm i need to parse commons decorator-macros.vm
to do this on the top i've writed :

#parse($layoutDecoration.getResource("/commons/decorator-macros.vm"))
#parse($layoutDecoration.getResource("decorator-macros.vm"))

But on jetspeed startup only the layout1/decorator-macros.vm are parsed
the other one start to be parsed only when i modify the header.vm page
at runtime (on the log i see JetspeedVelocityViewServlet - initVelocity() only on layout1/decorator-macros.vm)

I need to know where i can put commons macros.

Thanks,
VF

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to