velocity-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Geir Magnusson Jr <g...@4quarters.com>
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

-- 
Geir Magnusson Jr                                   203-247-1713(m)
geir@4quarters.com


---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-dev-help@jakarta.apache.org


Mime
View raw message