Re: [castor-dev] not all attributes of object are marshalled

2004-03-16 Thread marathonkati
Hi Keith, It worked. I get all attributes now. But the field "ObjectkindName" is not ignored. What can I do about that? Actually, I don't even have declared this attribute (field) in my javacode. It is just a public String getObjectkindName()-method. Katja > > Hi Katja, > > You mapping for the

Re: [castor-dev] not all attributes of object are marshalled

2004-03-15 Thread Keith Visco
Hi Katja, You mapping for the key is as follows: So you're telling castor that you only care about one field, but then you mark it as transient, I have a feeling you want the following instead: [EMAIL PROTECTED] wrote: > > Removing 'container="false"' didn't really help. > Wha

Re: [castor-dev] not all attributes of object are marshalled

2004-03-15 Thread marathonkati
Removing 'container="false"' didn't really help. What happend is following but the missing attributes didn't show up. This is the new xml file without 'container="false"' and two elements in the HashMap: - http://www.w3.org/2001/XMLSchema-instance"; /> - - 50 200 -

Re: [castor-dev] not all attributes of object are marshalled

2004-03-15 Thread Keith Visco
I think the problem is coming from the container="false". Try removing that and it should work ok. --Keith [EMAIL PROTECTED] wrote: > > Hello, > > I'm un/marshalling a HashMap but not all attributes of the key are getting > marshalled. Of course I can't unmarshall them either. > Following i

[castor-dev] not all attributes of object are marshalled

2004-03-15 Thread marathonkati
Hello, I'm un/marshalling a HashMap but not all attributes of the key are getting marshalled. Of course I can't unmarshall them either. Following is a part of my mapping file. graphicData is the HashMap I'm saving. ..