Hi,

I managed to get the intake service working and im pleased by its
abilities and design. I have troubles prepopulation a form with a data
from a Object. Unfortunatelly i didnt find any information about the
exact use of the mapTo Method of the Group-Object.

I tried to use something like

#set ( $formGroup =
$intake.customer.mapTo($customers.getCustomer("2232")) ) 

and also someting like

#set ( $formGroup = $intake.customer.mapTo($c) )

while both the $customers.getCustomer and also the $c represent a
Torque-Generated Object of a single DB-Record. both tries leaf
$formgGroup == null.

The Object has getters that match the Strings specified by mapToProperty
Values in my intake.xml. Creating a new Object with setProperties works
fine so i don't suspect any problems here.

I would appreciate any enlightment about that mapTo Function and what it
exaclty expects.

Greetings & TIA

Andy

   

 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to