[prev in list] [next in list] [prev in thread] [next in thread]
List: jakarta-commons-user
Subject: Re: betwixt and mixed collections
From: robert burrell donkin <robertburrelldonkin () blueyonder ! co ! uk>
Date: 2006-03-30 22:18:40
Message-ID: 1143757120.18303.4.camel () knossos ! elmet
[Download RAW message or body]
On Tue, 2006-03-28 at 10:04 +0200, Marcos Truchado Martín wrote:
> Hi Robert:
hi marcos
> Thanks a lot for your help. I have tried to run the code with both alpha
> 1.0 and latest nightly (marked as 0.8-dev 20060327), and I obtaint the
> same wrong result I was receiving with 0.7
container#addElement accepts objects of type Object. Betwixt needs to
know the candidate classes which may be included in that collection.
you need to use a polymorphic mapping. read
http://jakarta.apache.org/commons/betwixt/guide/reading.html#Reading%
20Polymorphic%20Mappings.
i haven't managed to track down the exact mapping you need but i'll try
to do that at the weekend.
- robert
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic