velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Geir Magnusson Jr." <ge...@adeptra.com>
Subject Re: discarding method return values
Date Mon, 04 Nov 2002 11:13:14 GMT
On 11/4/02 4:31 AM, "Christoph.Reck@dlr.de" <Christoph.Reck@dlr.de> wrote:

> I created a macro for this:
> 
> #macro( call $foo )#if( $foo )#**##end#end
> 
> since the #set(...) you used might cough and emit a log message when
> the call returns null.
> 
> Since it is a major issue to keep velocity simple, we should not
> add another criptic feature. When you want to explicitly do something
> apart from normal, do it expicitly and with clear text.
> 
> Still I believe Velocity-land would profit from a base library of
> extended directives and macros: $encode, #call, #local, etc.

And I think I ask every 6 months for contributions :)

Want to start it off?


-- 
Geir Magnusson Jr. 
geirm@adeptra.com                                    +1-203-355-2219 (w)
Adeptra Inc.                                         +1-203-247-1713 (m)



--
To unsubscribe, e-mail:   <mailto:velocity-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:velocity-user-help@jakarta.apache.org>


Mime
View raw message