Re: Re: Xinclude trouble
[email protected] Wed, 02 Mar 2005 09:55:53 +0100
| Newsgroups | gmane.comp.embedded.carlsbad-cubes |
|---|---|
| Organization | http://freemail.web.de/ |
| Message-ID | <[email protected]> |
List for Users of Carlsbad Cubes' Technologies and Products <[email protected]> schrieb am 02.03.05 05:48:17: > > AFAIK, (unless you create a custom resourceloader) you will have to > specify the whole path starting from the dir where the JVM starts. No, it is definetly not *that* hard. I use the path starting from my resource dir which is included in the classpath -- which is IMHO generally a good idea. E.g. include="xml/apply-ok-cancel-panel.xml#applyokcancel" loads the specified section of the specified file at the current position. The whole path is $project/resource/xml/... where $project/resource is included in the classpath. Frank > > HTH, n. > > On Tue, 1 Mar 2005 [email protected] wrote: > > >Was there any resolution to the problem? I'm encountering the same thing. > >It appears to be a problem with getting the correct path specified in the > >include attribute. I'm specifying a relative path just as Tristan did, > >although I'm not sure what class / SwixML file the path should be relative > >to. > > > >Any advice or links for further reference would be greatly appreciated. > > > >Will > > > >"Tristan Richard" <[email protected]> wrote in message > >news:[email protected]... > >> Yes, without any trouble > >> > >> Wolf Paulus a écrit : > >> > Tristan, > >> > Can you run the sample? > >> > > >> > On May 5, 2004, at 4:28 PM, Tristan Richard wrote: > >> > > >> >> Hi, > >> >> > >> >> I am trying to use the XInclude feature, but I don't manage to make it > >> >> happen... > >> >> > >> >> my call is from com/soft/iseult/iseult/gui/MainMenu.xml, rendered by > >> >> the class com/soft/iseult/iseult/gui/MainMenu > >> >> <menubar> > >> >> ... > >> >> <menu id="inputMenu" text="menu.input" mnemonic="VK_E" > >> >> include="ListsMenuFragments.xml#INPUT_IO_ACTIONS"/> > >> >> ... > >> >> </menubar> > >> >> > >> >> and ListsMenuFragments.xml (in the same com/soft/iseult/iseult/gui > > > _______________________________________________ > Forum mailing list > [email protected] > http://carlsbadcubes.com/mailman/listinfo/forum_carlsbadcubes.com