That's correct.  Plus if you are using the TDK, you can read this:

http://www.mail-archive.com/[EMAIL PROTECTED]/msg14502.html

Which will explain how to automagically implement the Retrievable interfaces
for all OM classes when you run ant project-om.

Good luck,

David

-----Original Message-----
From: Andreas Gaufer [mailto:[EMAIL PROTECTED] 
Sent: Thursday July 22, 2004 11:43 AM
To: Turbine Users List
Subject: Re: intake prepopulation questions


Hi,

sorry for the inconvinience, I found myself the solution somwhere in the
scatterd lands of the Apache Wikis. 

The Torque generated Class has to be changed to implement
org.apache.turbine.om.Retrievable

This can be read at
http://wiki.apache.org/jakarta/JakartaTurbine2Faq/CommonIntakeProblems

Greetings

Andy


On Thu, 22 Jul 2004 19:14:45 +0200
Andreas Gaufer <[EMAIL PROTECTED]> wrote:

> 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]
> 


-- 
Blue Cell Networks GmbH
Industriestra�e 1b
96163 Gundelsheim

Tel.: 0951-700 42 891 | Fax.: 0951-700 42 887

Diese Email sowie s�mtliche mit ihr �bertragenen Dateien enthalten
vertrauliche und/oder rechtlich gesch�tzte Informationen, welche
lediglich f�r den/die Adressaten bestimmt sind. Sollten Sie nicht der
vorgesehene Empf�nger sein, ist Ihnen der Gebrauch, die Verbreitung oder
Vervielf�ltigung der darin enthaltenen Informationen nicht gestattet.
Sollten Sie nicht der vorgesehene Empf�nger sein, benachrichtigen Sie
den Absender bitte umgehend per Email und vernichten Sie die
Originalnachricht einschlie�lich etwaiger Kopien und angeh�ngter
Dateien. Vielen Dank.

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


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

Reply via email to