Hi all!

Like everyone has noticed I've been trying to make ojb + cforms to work and my work is almost done.

I can get stuff from database, put it to forms and even edit the data in it and add new data!

Now the problem is deleting data.

Seems like deleting from forms does just childs.remove(child) or something similar so that it is removed from Collection. When I call DAO.update (bean, factory) it doesn't know that those childs are removed.

I was thinking how to solve this problem and came up with one solution:

to make deleting to call some own delete(child) so that when deleted, would actually move that child to another Collection. And when doing DAO.update (bean, factory) it would actually update changed childs AND delete deleted childs from that another queue. So how to make forms to do this?

Ups, almost forgot, my "tutorial" is located currently at http://joose.iki.fi/ojb/

Thanks,

Joose

--
"Always remember that you are unique, just like everyone else!"
* http://iki.fi/joose/ * [EMAIL PROTECTED] * +358 44 561 0270 *


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



Reply via email to