I have an XWT AddressForm. I now place a child XWT composite NameForm on the AddressForm. Because the NameForm is independent, there is no inheritance connection to AddressForm as we are accustomed to in ganymede.
Question: How do I retrieve the context of an XWT child composite (NameForm) from the code-behind of the parent (AddressForm).
Also, we yearn for some detail documentation on XWT.
You should first find the child by the name and then call the method
XWT.getDataConetxt()
Composite child = (Composite ) XWT.findElementByName(content,
"NameForm");
Object dataContext = XWT.getDataConetxt(child);
Best regards
Yves YANG
"St Clair Clarke" <st_clair@flowja.com> wrote in message
news:i2aqrf$5ok$1@build.eclipse.org...
> Hello,
>
> I have an XWT AddressForm. I now place a child XWT composite NameForm on
> the AddressForm. Because the NameForm is independent, there is no
> inheritance connection to AddressForm as we are accustomed to in ganymede.
>
> Question: How do I retrieve the context of an XWT child composite
> (NameForm) from the code-behind of the parent (AddressForm).
> Also, we yearn for some detail documentation on XWT.
>
> Thanks
>
> St Clair