You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by Mark Westwood <ma...@1eeurope.com> on 2002/06/25 14:12:40 UTC

Storing Velocity Templates in a database

Hi,

Can anyone help on this matter, I have spent a bit of time searching for
how-to's but have had no luck so far. Basically the problem is that we want
to hold all templates in a db so that designers can access them via a CMS to
make amendments.

Oh yeah, forgot to say - Velocity rocks big time! ;-)

King regards,

Mark Westwood, Senior Developer
_________________________________________________
fast> forward> e-business>

1eEurope (UK) Ltd
The Loft, 2 Exmoor Street, London W10 6BD

T: (0)20 8964 8327 [Reception]
T: (0)20 8962 3286 [Direct line]
F: (0)20 8964 8457
E: mark.westwood@1eeurope.co.uk
http://www.1eeurope.co.uk

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Storing Velocity Templates in a database

Posted by "Geir Magnusson Jr." <ge...@adeptra.com>.
On 6/25/02 8:12 AM, "Mark Westwood" <ma...@1eeurope.com> wrote:

> Hi,
> 
> Can anyone help on this matter, I have spent a bit of time searching for
> how-to's but have had no luck so far. Basically the problem is that we want
> to hold all templates in a db so that designers can access them via a CMS to
> make amendments.

There is a DataSourceResourceLoader designed to do just that.  Look in the
o.a.v.runtime.resource.loader package.


> 
> Oh yeah, forgot to say - Velocity rocks big time! ;-)
> 
> King regards,
> 
> Mark Westwood, Senior Developer
> _________________________________________________
> fast> forward> e-business>
> 
> 1eEurope (UK) Ltd
> The Loft, 2 Exmoor Street, London W10 6BD
> 
> T: (0)20 8964 8327 [Reception]
> T: (0)20 8962 3286 [Direct line]
> F: (0)20 8964 8457
> E: mark.westwood@1eeurope.co.uk
> http://www.1eeurope.co.uk
> 
> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
> 

-- 
Geir Magnusson Jr. 
Research & Development, Adeptra Inc.
geirm@adeptra.com
+1-203-247-1713



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>