Janos, You have to provide the full class name of your Module (in your jar file) in the MANIFEST.MF file which is located in the META-INF directory. More infos on that in the two links I added my last post.
http://www.nabble.com/T5%3A-component-libraries-to12055274.html#a12055580 http://tapestry.apache.org/tapestry5/tapestry-ioc/module.html Michael -------- Original-Nachricht -------- > Datum: Mon, 21 Apr 2008 13:13:45 +0200 > Von: "János Jarecsni" <[EMAIL PROTECTED]> > An: "Tapestry users" <users@tapestry.apache.org> > Betreff: Re: Page template and class location > Hi Michael, > > what did you do? I did what I wrote (yes it is a library JAR, I have the > LibraryModule class I quoted, the library name is "mylib", and the quoted > URLs do NOT work. What URL did you use? > > thx a lot > Janos > > On 21/04/2008, Michael Gerzabek <[EMAIL PROTECTED]> wrote: > > > > Hi Janos, > > > > if your library is in a jar file read [1], else add the method you > posted > > in your current Module. Tested it, works like a charm ;) > > > > [1] > > > http://www.nabble.com/T5%3A-component-libraries-to12055274.html#a12055580 > > Infos on Modules: > > http://tapestry.apache.org/tapestry5/tapestry-ioc/module.html > > > > János Jarecsni schrieb: > > > > > Yes, but how? :) I tried various ways, none worked. The library > contains > > > the > > > following library module: > > > > > > public static void > > > contributeComponentClassResolver(Configuration<LibraryMapping> > > > configuration) { > > > configuration.add(new LibraryMapping("mylib", > > > "com.mycompany.package")); > > > } > > > > > > In the "com.mycompany.package.pages" package there is the X.tml. > > > Pointing my browser to > > > > > > http://localhost:8080/context/mylib/x > > > http://localhost:8080/context/mylib.x > > > http://localhost:8080/context/x > > > > > > doesn't work either. > > > > > > Thanks in advance! > > > Janos > > > > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]