[FLOW3-general] Objects with UUID and ExtDirect
Regine Rosewich
regine.rosewich at hoellenberg.biz
Mon May 2 10:55:35 CEST 2011
Hi folks,
my testing of the ExtJS capabilities of FLOW3 gets more and more
sophisticated. In the meantime I'm very well able to get Data from the
database into the ExtJs Frontend, to add data to the database and to remove
them. (So the CR- and the D- part of the CRUD-Operations are working).
The problems come with the Update-Operation. As the data transferred to
ExtJs by the ExtDirect-Request do not contain the UUID of the transferred
Object, the Update of such an Object fails with the error message "The
modified Object given was not of the type (..) this repository manages". The
only way to get that problem solved is first to make the update Method of
the Controller to find the Objects which are to be updated and then to merge
the found objects with the data changed from the ExtJs-Frontend. That makes
Updates from ExtJs rather complicated as you have to transfer the unchanged
object-data as well as the changed object data, then search for the
unchanged Objects thus getting the UUID of those Objects and afterwards
merging the found Objects with the changed ones from ExtJs.
To cut a long story short, my question is, whether there is a possibility to
get the objects from FLOW3 transferred to the ExtJs-Frontend in a way to
make them updateable in a less complicated manner than described above?
Regine
More information about the FLOW3-general
mailing list