Vadim Gritsenko wrote:
> Sylvain Wallez wrote:
<snip/>
>> Christopher, can you confirm this? I would be good to have the
>> "widget" or "currentWidget" variable available to crawl the widget
>> tree from any point in the template.
>
>
> I don't know how to use those macros yet, but yes, "widget" is better
> name than "ignored" :)
Obviously ;-)
To use the macros, just <jx:import uri="woody.jx"/> in the JX template
as explained by Christopher in his first post.
<snip/>
> Gotcha! So the options are either to use JX Generator + Woody
> Transformer, or JX Generator + Woody Macros library, where macros
> library performs all the stuff transformer was doing before.
Exactly!
> Just need to see what is performance difference (and compare with bare
> woody transformer).
Yep.
Sylvain
--
Sylvain Wallez Anyware Technologies
http://www.apache.org/~sylvain http://www.anyware-tech.com
{ XML, Java, Cocoon, OpenSource }*{ Training, Consulting, Projects }
Orixo, the opensource XML business alliance - http://www.orixo.com
|