RE: getContext

"Guijarro, Julio" <[email protected]>
Newsgroups gmane.comp.java.smartfrog.user
Message-ID <[email protected]>
Hi Andreas,

getContext in ComponentDescription has been renamed to sfContext.

The same happens with getParent that has been renamed to sfParent.

The changes are described in the released notes or in the changes.txt.

These changes are to unify the interfaces: ComponentDescription and Prim

I haven't updated the manual yet. But I will do it as soon as possible.

Let me know if you have any more problems to migrate your code.

Julio Guijarro

> -----Original Message-----
> From: smartfrog-support-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org [mailto:smartfrog-
> [email protected]] On Behalf Of Andreas Unterkircher
> Sent: 24 August 2004 16:36
> To: smartfrog-support-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> Subject: [Smartfrog-support] getContext
> 
> 
> I just installed the new SmartFrog.3.04.004.beta and tried to compile some
> of our code. The following lines fail:
> 
> ComponentDescription var = (ComponentDescription) sfResolve(ATR_VAR);
> Context c = var.getContext();
> 
> I checked the javadoc and saw that the getContext() method disappeared.
> The sfReference manual coming with SmartFrog.3.04.004.beta is still the
> one for 3.02. Could I get the new manual to see how to port our code ?
> 
> Thanks,
> Andreas
> 
> 


-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.