Hi Stephen

Now it works!
I put the two list in a List of objects and on unmarshalling
i get the two list back!

Thank you very much for helping...
Grettings Daniel



On Thu, 17 Apr 2008 14:09:16 -0400, "Stephen Bash" <[EMAIL PROTECTED]>
wrote:
> Daniel-
> 
> Have you tried unmarshalling yet?  Castor should handle the ids and
> references internally given a correctly marshalled document.
> 
> Stephen
> 
> 
> On Thu, Apr 17, 2008 at 12:06 PM, Daniel Wachter <[EMAIL PROTECTED]> wrote:
>> Hello Stephen
>>
>>  Thank you for your "hint"...
>>  If I make as you said, the generated xml looks good to me.
>>
>>  Now my problem is to unmarshal the same xml.
>>  I don't see how to bring the keys and models together...
>>
>>  Maybe someone has some example with a similar case.
>>  (The example from the castor website is only with references of the
> same
>>  objects)
>>
>>  Greetings Daniel
>>
>>
>>  On Thu, 17 Apr 2008 11:21:29 -0400, "Stephen Bash" <[EMAIL PROTECTED]>
>>  wrote:
>>
>> > Daniel-
>>  >
>>  > I believe when Castor sees the reference="true" attribute, it
>>  > *assumes* the object will be marshalled elsewhere in the document.
>>  > This causes Castor to only produce a reference, and not fully marshal
>>  > the child object.  To force your keys to be fully marshalled, I
>>  > believe they will have to appear outside of the DeviceModel objects.
>>  > A quick solution that might work is create a heterogeneous Collection
>>  > that includes all the keys and models then marshal that Collection.
>>  >
>>  > BTW Hi Werner!  (creeps back into lurker status)
>>  >
>>  > HTH,
>>  > Stephen
>>
>>
>>
>>
>> ---------------------------------------------------------------------
>>  To unsubscribe from this list, please visit:
>>
>>     http://xircles.codehaus.org/manage_email
>>
>>
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
> 
>     http://xircles.codehaus.org/manage_email


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to