Say folks -  just noticed this while wandering around in the Confluence
templates...

#applyDecorator ("menupanel" "Security")
<img src="$req.contextPath/images/icons/bullet_creme.gif" height=8
width=8 alt="">
...more html snipped...
#end


It looks like a Velocity macro -- but with body content -- which isn't
standard for Velocity.  

I looked at the SiteMesh docs, but only found JSP tag library references
for applyDecorator.

Dug deeper and it seems to be a custom Velocity directive :
ApplyDecoratorDirective.

Deeper still... I found the src in this bug report.
http://jira.opensymphony.com/browse/SIM-112?page=all


I'm wondering, is there a "macro with body content" in the pipeline for
Velocity Core? Seems like a spiffy thing to have. 

Timo


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

Reply via email to