Mikko

Why is that?

<snip>

This class is a child in parent child relationship and is the many
side in a one to many relationship to another class.

You've answered yourself :) Parent/children by default gets stored in the same global, with children being stored in nodes directly under their parent. This is more efficient and consistent with the fact that children have only one parent.


The construct "1||1" states that a child has ID 1 and its parent's ID is also 1. You could isolate the child ID with $Piece(ID,"||",2), but whether you actually want to do that depends on how do you intend to open the object once the CSP form has been posted. If you have to open the parent anyway, then you may just pass the full ID from the form, then loop through the children until the matching ID is found (but I'm sure someone else can think of a better way to do it :))

HTH,

Ram�n

--
ZCacheLib - Open Source Extensions for Cach�
http://www.zcachelib.org



Reply via email to