velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Kimpton" <ch...@kimptoc.net>
Subject Re: How do I get an exception for a null macro expansion
Date Mon, 12 Mar 2001 22:02:59 GMT
Hi,

>
> > > I assume it could be added, but it seems like something
> > that you could
> > solve
> > > other ways - for example, a reference w/ no data in the
> > context  will be
> > > reported in the log - will that suffice?
> > >

Any thoughts of other ways?  analyzing the log doesn't sound right...  ;-)

If I use the reference $!name and name is null, then I get nothing output -
can I configure velocity to output something else, like 'ERROR' and I could
then search my merged template for this string?

Thanks for your thoughts,
Chris


Mime
View raw message