On 7/18/06, Ted Husted <[EMAIL PROTECTED]> wrote:
On 7/18/06, Don Brown <[EMAIL PROTECTED]> wrote:
> What about using "s_" for velocity, then "s:" for the rest?

From what Toby said, I think FreeMarker uses a ".", as in

<@s.url ... />

I'd like to hear from a Velocity person on this

but i like lurking! ;-)

 (it's been awhile
since I've been one myself --- Ahh, those were the days!), but the _
is a shift key. If we were going to use a separator in the vmname, we
might want to try the hyphen (-). Then, all three would have
separators, even if different separators :)

From the VTL reference, it looks like only [ a..z, A..Z ][ a..z, A..Z,
0..9, -, _ ] are valid,.

* http://jakarta.apache.org/velocity/docs/vtl-reference-guide.html

My general feel is that #surl is fine, but if you really want a
separation, you should use a hyphen, not an underscore.   Of course,
if i were doing this myself i might design some/many of these as tools
instead.  so $s.url(...) instead of #surl(...).   No biggie though.

:)

-T.

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



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

Reply via email to