Ramon

>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 :))

Not sure what you mean here
set OBJID="1||2"
set obj=##class(ChildClass).%OpenId(OBJID)
??


not an expert with CSP Bind but if you want to open another page for
an instance of the child class I guess you do something like

<a href="ChildPage.csp?OBJID=1||2">the child</a>

peter



Reply via email to