Re: StringResourceRepository

2009-03-13 Thread Thilo Schwarz
parse. On Fri, Mar 13, 2009 at 8:22 AM, Thilo Schwarz wrote: Hi all! Can someone tell me if I could use StringResourceRepository to process dynamic macros at the same way like templates? Is there any difference between macros and templates internally, or can I use it in the same manner? Ki

Re: StringResourceRepository

2009-03-13 Thread Nathan Bubna
. I haven't tried that, but it seems feasible now that you can bring macros in via #parse. On Fri, Mar 13, 2009 at 8:22 AM, Thilo Schwarz wrote: > Hi all! > > Can someone tell me if I could use StringResourceRepository to process > dynamic macros at the same way like template

StringResourceRepository

2009-03-13 Thread Thilo Schwarz
Hi all! Can someone tell me if I could use StringResourceRepository to process dynamic macros at the same way like templates? Is there any difference between macros and templates internally, or can I use it in the same manner? Kind regards Thilo

Re: Trouble Using StringResourceRepository

2008-06-20 Thread Nathan Bubna
On Thu, Jun 19, 2008 at 9:20 AM, Joe Reger, Jr. <[EMAIL PROTECTED]> wrote: > Hi all! > > I'm trying to use a StringResourceRepository so that I can process dynamic > runtime templates. > > I get the following error: > = > java.lang.Illeg

Trouble Using StringResourceRepository

2008-06-19 Thread Joe Reger, Jr.
Hi all! I'm trying to use a StringResourceRepository so that I can process dynamic runtime templates. I get the following error: = java.lang.IllegalStateException: RepositoryFactory was not properly set up

Re: Configuration pattern for StringResourceRepository

2007-05-08 Thread Will Glass-Husain
should have to do is add these properties: string.resource.loader.repository.name = string.resource.loader.repository.static = false then you can populate each user's repository after then velocityEngine is initialized by doing StringResourceRepository repo = (StringResourceRepository)velocityEngine

Re: Configuration pattern for StringResourceRepository

2007-05-08 Thread Nathan Bubna
t subclass per user. Or did you mean instance? Anyway, all you should have to do is add these properties: string.resource.loader.repository.name = string.resource.loader.repository.static = false then you can populate each user's repository after then velocityEngine is

Re: Configuration pattern for StringResourceRepository

2007-05-08 Thread Thilo Schwarz
Nathan Bubna <[EMAIL PROTECTED]>: On 5/6/07, Thilo Schwarz <[EMAIL PROTECTED]> wrote: > Hi to all! > > It seems, I need a hit on my head. I've got the problem to understand > the pattern to configure the StringResourceRepository! I'm using > velocity in a standal

Re: Configuration pattern for StringResourceRepository

2007-05-07 Thread Nathan Bubna
On 5/6/07, Thilo Schwarz <[EMAIL PROTECTED]> wrote: Hi to all! It seems, I need a hit on my head. I've got the problem to understand the pattern to configure the StringResourceRepository! I'm using velocity in a standalone application. To initialize the VelocityEngine, I do som

Configuration pattern for StringResourceRepository

2007-05-06 Thread Thilo Schwarz
Hi to all! It seems, I need a hit on my head. I've got the problem to understand the pattern to configure the StringResourceRepository! I'm using velocity in a standalone application. To initialize the VelocityEngine, I do something like that: VelocityEngine velocityEngine = new Velo