On 3/3/06, Nathan Bubna <[EMAIL PROTECTED]> wrote:
> yeah, i'm interested in this stuff.  in what little free time i have
> these days, i've been half-heartedly fussing around with sprucing up
> Veltag and adding tools support.  since we've been using jsp at work a
> lot more lately (much to my irritation), i've got increasing interest
> in integrating Velocity and JSP in both directions.  one of the
> reasons we're using jsp more is because of a few tags we need.

Nathan,

So, I've got a page faker page context and have velocity able to
invoke a tag.  The basics are there, but I have questions I wanted to
bounce off of you:

1. I don't see how I can use tags with body content.  Freemarker
syntactally supports tag invocations similar to a foreach loop, but
without changing velocity's syntax, I can't see any way to provide
similar capabilities.  Do you have any ideas on this?
2. Do you have any ideas on syntax for how to access a tag invoker? 
My initial needs do not need to expose ad-hoc tag calling from my
velocity templates.   I need context objects able to invoke specific
tags....to explain a bit more, I'm using http://ajaxtags.sf.net, and I
have some business logic beans that expose the ajax portlet and
toggle/rating tags.  What I expose to the velocity template is just
something that says stick the rating element here, and I hardcode the
tag attributes.  This works for my app but isn't very helpful for
everyone else.  Any ideas appreciated.
3. Do you have any ideas on suitable test cases?  Maybe run all JSTL
tags without body content?

--
Serge Knystautas
Lokitech >> software . strategy . design >> http://www.lokitech.com
p. 301.656.5501
e. [EMAIL PROTECTED]

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

Reply via email to