velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Werner Punz" <>
Subject AW: Feature request
Date Wed, 07 Aug 2002 11:14:20 GMT
I will have a look at it in the next few days if it is the thing I need.

As for the poweredby, I?m not a core opencms developer, I?m a community
developer, my project is one of the community projects (the other one is
the Lucene integration), so I can?t comment on these issues.I guess, ask
Alex Kandizor the starter of the OpenCMS project and the maintainer of
the site, if a Powered by Velocity can be used :-). The problem is that
there is no full Velocity integration in OpenCMS yet (actually none in
the core system), the whole current template mechanism is xml based.

Anway as I said Alex would be the right person to be adressed for a
powered by button :-).

In my subproject there definitely is a link to the Velocity site on the
homepage and to the Jakarta site, as well as the whole subproject is
under the Apache License to give the correct credits.
Alexs email address

Thanks for the fast response!


-----Ursprungliche Nachricht-----
Von: Geir Magnusson Jr. []
Gesendet: Mittwoch, 07. August 2002 12:54
Betreff: Re: Feature request

On 8/7/02 5:09 AM, "Werner Punz" <> wrote:

> I already mailed this in this dev mailing list, but it went under
> unnoticed. 
> It seems that the user mailing list is read more. So I will repost it
> again.

Sorry.  Things busy.

> First I guess, I introduce myself. I am one of the persons, who tries
> integrate Velocity into the OpenCMS project (in fact I started it).
> (
> So far it works fine except one problem. I have to access via Velocity
> virtual file system, which is based on a relational database.I made my
> own resource loader for accessing the system. But the problem is there
> is no way within the standard Velocity API to pass down an extra
> parameter which can change dynamically upon loading the resource to
> resource loader, unless you pass it directly to the loader.


If I understand what you are asking for, you want to pass something app
specific to the resource loader you wrote?

There is something in vel 1.4 called an 'application attribute' that can
set by name from the application level, and then custom components can
access that attribute.  This attribute can be an object that the app
and core layer communicate through, for example.


Also, to see how this is used, take a look at
the VelocityViewServiet uses the app attribute to communicate with the

See if this does what you need.

Also, I assume it's ok to put opencms on our powered-by page?

Geir Magnusson Jr. 
Research & Development, Adeptra Inc.

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

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

View raw message