velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tal Dayan" <>
Subject RE: 'Compiling' Velocity pages
Date Thu, 19 Jul 2001 02:36:50 GMT
Since there was no other answer, let me try to answer it though I
am definitely not a Velocity expert.

You can always instantiate a template with some 'typical' context and
execute it. If there was no exception, you may consider it as a 'go'. Then
you can iterate all the templates in your collection and test them 
one by one.

The trick is to be able to construct a typical context for each of the 
template in your collection.

Does this make sense ?


> -----Original Message-----
> From: One Way []
> Sent: Sunday, July 15, 2001 12:23 AM
> To:
> Subject: 'Compiling' Velocity pages
> Is there a way to 'compile' a Velocity page (for the purpose of
> verifying it for errors) without loading the page in to the browser?
> Thanks in advance
> __________________________________________________
> Do You Yahoo!?
> Get personalized email addresses from Yahoo! Mail

View raw message