Try to use a (nested) field mapping as follows within the Garage class.

<field name="car.h" type="...">
  <bind-xml .../>
</field>

Regards
Werner

Cezaryyyy wrote:
Hi everyone. I have something like that :
 public class garage
{
 private Car car;
 private string j;
 private int k;
}
public class Car
{
 private int h;
}

i know how do like this using castor : <root>
    <garage>
       <j>value</j>
       <k>value</k>
       <Car>
         <h>value />
       <Car>
   </garage>
 </root>

It is possible to do something like this: and how ?
<root>
    <garage>
       <j>value</j>
       <k>value</k>
       <h>value</h>
   </garage>
 </root>

Thanks for answer.greeting



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

   http://xircles.codehaus.org/manage_email

Reply via email to