description and references refresh when editing

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

description and references refresh when editing

Florent Trolat-2

Hi,[re ;-)]

with the same case :
----------------------------------------------------
An object A have a collection of objects B. each object B have a collection of objects C, and finnaly each object C have an attribute wich references an object B take in the collection of A.

A 1<=>* B 1<=>* C 1<=>1 B among the Collection of A-
-----------------------------------------------------

When I edit with seaside components an object A and if I add object B I need to save A to be able to use B objects, recently added, with C objects.

May be clearer :
Steps
1/ I edit A object
2/ I add B objects to the collection in A
3/ When creating B objects I want to add C objects
4/ When creating C objects ... the list of B objects in the object A is not already update and I have to previously save A to use the collection...

I believe my probleme is due to the memento pattern used when creating A object...
May be I need to commit A memento ?
Thanks for your help

Florent.



_______________________________________________
SmallWiki, Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki
_______________________________________________
Smallwiki mailing list
[hidden email]
http://impara.de/mailman/listinfo/smallwiki