If you can put it in a tool, that would be best. You can have request, session, and global tools Its documented on the Turbine site, but I cant find it right now See http://jakarta.apache.org/turbine/turbine-2/pullmodel.html for an overview
See the TR.p section on tools for examples > -----Original Message----- > From: Stefan Kuhn [mailto:[EMAIL PROTECTED]] > Sent: Friday, March 22, 2002 4:43 AM > To: Jetspeed Users List > Subject: Including new velocity variables in top.vm > > > Hi everybody, > in our project I need to include some additional data in the > header of the > jetspeed website. I understood that this header is controlled > by top.vm, > which is called by default.vm. Because our data is not static > and comes from > a database, I need to put them in as velocity variables (or > proporties or > methods) which are retrieved by java code from the database. > I understood > that the values need to be put in the context by the class > calling the > template. And here is my problem: Which class is that? Where > best put in the > context.put() in order to have these values in top.vm? > I tried to find out it by myself but all these jetspeed > classes are a bit too > much for me :-) > Thanks for any advice > Stefan > > -- > To unsubscribe, e-mail: > <mailto:jetspeed-user-> [EMAIL PROTECTED]> > For > additional commands, > e-mail: <mailto:[EMAIL PROTECTED]> > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
