velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "bluejoe" <bluejoe2...@gmail.com>
Subject Re: Serialize Template Object
Date Wed, 08 Jul 2009 08:58:53 GMT
I had the same idea some months ago, and asked if there is any exsiting method to follow.
It seems that we have to write extra codes to serialize the ASTNodes:(

-bluejoe
----- Original Message ----- 
From: "Jason Tesser" <jasontesser@gmail.com>
To: <user@velocity.apache.org>
Sent: Monday, June 29, 2009 9:49 PM
Subject: Serialize Template Object


>I have a need for cache purposes to serialize the Velocity Resource object.
> I was hoping to cache the velocity code within the template and then
> reconstruct the template on the other end.
> 
> Is there a good way to do this.  I am look at the code and api and it isn't
> obvious how.
> 
> Thanks,
> Jason Tesser
> dotCMS Lead Development Manager
> 1-305-858-1422
>
Mime
View raw message