velocity-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Geir Magnusson Jr <>
Subject Re: OT: MVC Purity :-)
Date Thu, 08 Jan 2004 19:45:51 GMT

On Jan 8, 2004, at 12:16 PM, Serge Knystautas wrote:

> Geir Magnusson Jr wrote:
>> On Jan 8, 2004, at 11:47 AM, Matías Giovannini wrote:
>>> Can't we make math pluggable à la Tools, but with some syntactic 
>>> sugar + background automagic to integrate it seamlessly with VTL? 
>>> Perhaps with a couple of directives, say #let(<ref> = <expr>) and

>>> #when(<expr>).
>> That's an interesting idea.  Hmmm.  However that would be confusing, 
>> wouldn't it?  the old directives versus the new directives?  It would 
>> be 100% backwards compatible...
> For my environment, either a tool or a configuration setting would be 
> prerable.  I wouldn't want to have to go back and edit all our 
> templates to include this directive, or selectively apply this 
> declaration to the templates that need it.  One of the biggest banes 
> about JSPs for me is that I have to declare my taglibs on every JSP.

Custom directives are loaded at configuration time, not on a page by 
page basis.

That would be another way we could allow people to test in a backwards 
compatible manner....


Geir Magnusson Jr                                   203-247-1713(m)

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message