Documentation about how to use Velocity with XDoclet?

From: Kevin (x)
Date: 06/14/04


Date: Mon, 14 Jun 2004 02:25:21 +0200

Hi everyone,

I am looking for some documentation about how to use a Velocity script in a
XDoclet template file (.xdt)

For example, if I have the following tag :

@myTag myParam="xxx"

I can get the myParam value (ie "xxx") in the .xdt file with

<XDtMethod:methodTagValue tagName="myTag" paramName="myParam"/>

But how can I get this value into a Velocity script ?

Would it be something like that ?

<XDtVelocity:generator>
## is the line below correct ?
# set( $method = $methodTagValue.myTag("myParam")
</XDtVelocity:generator>

Thanks for you help,
Kevin