Short version: I wish for a JSP custom tag that will effectively let me use Velocity expressions instead of the anemic JSTL expressions.

Long version:

Velocity already has a custom JSP tag that lets me do this:

<vel:velocity>
   #if(true) cool velocity stuff #end
</vel:velocity>

However, what I really really want is something that lets me use velocity expressions the way I would use JSTL expressions. The most important is this:

<vel:set var="foo" value="${cool.velocity(syntax)}" />

The inability of JSTL expressions to call arbitrary java methods results in muchhacking and hair pulling. Velocity expressions rock. I want them :-)

How hard would it be to make a <vel:set> tag? I looked around the APIs but couldn't find anything helpful.

Thanks,
Jeff

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

Reply via email to