|
Hi,
In order to support a better Castor mapping file I
would like to wrate a new template tag which expects a regular Java type and
returns the same type without any dimension specification, ie:
int[][] -->
int
String -->
String
The idea is clear. Now what is in your opinion the
best type of template to use?
Either a block tag:
<XDtType:typeWithoutDimensions><XDtMethod:methodType/></XDtType:typeWithoutDimensions>
or a content tag:
<XDtType:typeWithoutDimensions
type="<XDtMethod:methodType/>">
which IMHO looks a bit obscure, but according to
the JavaDoc of 'xdoclet.template.TemplateEngine.outputOf()' perfectly
legal.
Thoughts?
Ciao,
BG
|
- Re: [Xdoclet-devel] Creating a <XDtType:typeWithoutDimen... Bart Guijt
- Re: [Xdoclet-devel] Creating a <XDtType:typeWithout... Erik Hatcher
- Re: [Xdoclet-devel] Creating a <XDtType:typeWit... Bart Guijt
- RE: [Xdoclet-devel] Creating a <XDtType:typ... Ara Abrahamian
- Re: [Xdoclet-devel] Creating a <XDtType... Bart Guijt
- RE: [Xdoclet-devel] Creating a <XD... Ara Abrahamian
- Velocity templating (Was: Re: [Xd... Erik Hatcher
- RE: Velocity templating (Was:... Ara Abrahamian
