Rafael,

it should be 'eatingFor1Person', but if you created a Jira issue and
attached the XML document and Java domain object(s) required, I will try
to confirm this.

Werner

Rafael Weinstein wrote:
> i can't find explicit documentation on the default mapping of elements
> to java fields, but i've been able to guess and have been successful.
> 
> here's the exception:
> 
>       <eating-for-1-person>true</eating-for-1-person> 
> 
> i've tried:
> 
>       public boolean eatingFor1Person;
>       public boolean eatingForOnePerson;
>       public boolean eatingFor1person;
> 
> and i still get a mapping error:
> 
>       -unable to find FieldDescriptor for 'eating-for-1-person' in
> ClassDescriptor of diningroom
> 
> 
> i'm not using a mapping file. i'm happy to change my java field to what
> ever the default introspection mapping expects it to be.
> 
> any help is appreciated.
> 
> best
> rafael
> 
> ---------------------------------------------------------------------
> 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