I have problem with mapTo mechanism in intake.
When I do #set ( $customerGroup = ${intake.customerGroup.mapTo($customer)} )
$customerGroup.webPage.Key have not properly value.
So then method group.setProperties(new Customer())
doesn't set parameters in a proper way.
My intake.xml looks:
<input-data basePackage="pl.poznan.put.cs.esds.">
<group name="customerGroup" key="customerGroup" mapToObject="om.Customer">
<field name="webPage" key="webPage" type="String" mapToProperty="webPage">
rules....
</field>
</group>
</input-data>
The class Customer is automatically generated by Torque and I can not see here the Retrievable interface. Is it necessary?
regards,
PK
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
