I 'am not sure to understand what do you mean. Could you give me a small example please if it's not too much to ask ?
Thank you Jérôme -----Message d'origine----- De : Greg Brown [mailto:[email protected]] Envoyé : samedi 15 janvier 2011 13:41 À : [email protected] Objet : Re: <include> 2.0 The dot notation now works with included objects the same way it works with other values defined within the document - it refers to the properties of the object rather than the namespace of the document that defined the object. This helps preserve encapsulation and promotes the notion of documents as individual modules with their own private namespace. You can replicate the previous behavior by defining a property on the root object of your include that exposes the named value. G On Jan 15, 2011, at 3:51 AM, Jérôme Serré wrote: > Hello, > > With WTKXSerializer i could get an id in other file by using . > In 2.0 its not possible. How can I get it with namespace ? > I dont see example in tutorial > > Thank you for your help > Jérôme > > Example : > wtkxSerializer.get("menuPrincipale.administration"); > > <wtkx:include wtkx:id="menuPrincipale" src="menuPrincipale.wtkx"/> > menuPrincipale.wtkx > > <MenuBar.Item wtkx:id="administration" buttonData="%administration"> > > > ____________________________ > La gestion de votre cave > <http://85.216.59.161:8000/cave> http://85.216.59.161:8000/cave > >
