From: Raymond I. <xw...@ya...> - 2003-07-04 21:26:56
|
--- rama <ra...@al...> wrote: > Hello, > I don't know if i am on the proper news list, Yes you are. >but i'm searching to add > an object i created to a page in dynapi 3.0 > With dynapi 2.57, i did with: > DynAPI.include('dynapi.matAPI.windowContainer.js'); > > But now, it doesn't work. Currently in 3.0 you'll have to first add the file to the dynapi.library class and then include it: // first create a package namespace var p = '{path to package file}/'; dynapi.library.addPackage('matAPI',p); // next add object to the custom package l.add('matAPI.Window','dynapi.matAPI.windowContainer.js'); // add as many objects as you need // next include your objects dynapi.library.include('matAPI.Window'); -- Raymond Irving > Thank in advance. > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built > ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are > available now. > Download today and enter to win an XBOX or Visual > Studio .NET. > http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 > _______________________________________________ > Dynapi-Help mailing list > Dyn...@li... > https://lists.sourceforge.net/lists/listinfo/dynapi-help __________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com |