-------- Original-Nachricht -------- > Datum: Thu, 23 Apr 2009 12:12:39 +0200 > Von: Bob Schellink <[email protected]> > An: [email protected] > Betreff: Re: FormTable and Submit
> With FormTable your options are more limited because the FormTable > rows must be filled *before* onProcess occurs, otherwise the Field and > Button values won't be processed and their actions won't be invoked. I wanted to use a FormTable with an CayenneForm, using getDataObject().get/toManyRelationShip/() to set the rowlist of the FormTable. getDataObject() tries to construct the dataobject by using the oidField which holds the primary key. Well, the oidField only holds the primary key after it is proccessed. So to get the column fields of the FormTable get processed it needs to have it's rows filled befor onProcess, but i only get the row list after onProcess (if i am using the suplied getter). Should i read the value of FO_ID on my own, construct the dataobject and use setDataObject to set it or is there a cleaner/better way to solve this? Stefan -- Neu: GMX FreeDSL Komplettanschluss mit DSL 6.000 Flatrate + Telefonanschluss für nur 17,95 Euro/mtl.!* http://dslspecial.gmx.de/freedsl-surfflat/?ac=OM.AD.PD003K11308T4569a
