Hi Thorsten,
What you are trying to do I don't think is supported in 0.8.11, it's
been a very
long time since I've seen Castor code that old. :-)
You might need to modify the source code yourself as we don't support
past releases of the product.
Thanks,
--Keith
Thorsten Mauch wrote:
>
> Hi All
> I still use Castor 0.8.11.
> I marshall a collection with elements of the class Move. The collections
> Fields calls Moves.
>
> My mapping looks like:
>
> <field name="Moves" collection="collection"
> type="com.imkenberg.bo.good.Move">
> <xml name="moves" node="element"/>
> </field>
>
> the restult is that the root element has
> several childs <moves>
>
> but i like to hava a node for the collection itself and
> and a node for each move, like_
>
> <root>
> <moves>
> <move ..../>
> <move ..../>
> ...
> <move ..../>
> </moves>
> </root>
>
> How my mapping file sould look like ?
>
> Thanx Thorsten
>
> -----------------------------------------------------------
> If you wish to unsubscribe from this mailing, send mail to
> [EMAIL PROTECTED] with a subject of:
> unsubscribe castor-dev
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev