Will Glass-Husain wrote:

Hi,

That's an interesting idea. I think it's important that Velocity remain a templating language, not a programming language. But that idea keeps that approach, just adds additional error-checking for the method calls.

You could implement this with a combination of a custom directive and a custom Introspector. If you're adventurous, I suggest you try playing with these, then submit a patch. If it's helpful, you might look at the slides from my talk "Hacking Velocity" at
http://www.jlamp.com/apachecon


WILL

Actually, I've never messed with Velocity internals/written a custom directives/introspectors before. So far I just used it - mostly with turbine. Well, ok, there was that ResourceLoader, I once wrote... hmm, ok. I'll give it a try this weekend (too busy with other things right now). It can't be to difficult to do, can it?


Thanks for those slides. I think they'll be very helpful.

Edmund

--
liland open IT solutions GmbH

email: [EMAIL PROTECTED]


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to