Re: Page template and class location
Hm, does not work. I tried http://localhost:8080/Celebrities/mylib/SomePage and http://localhost:8080/mylib/SomePage so both with and without a context, but none worked. cheers, janos On 22/04/2008, Michael Gerzabek <[EMAIL PROTECTED]> wrote: > > When you contribute it via > > new LibraryMapping( "mylib", "com.mycompany.package" ) > > you wanna browse it with http://localhost:8080/mylib/x > > /M > > > > János Jarecsni schrieb: > > > no :) > > I tried a lot of URLs in the browser, but none worked. What URL did you > > use > > to browse to such a page? > > thx > > janos > > > > > > On 22/04/2008, Michael Gerzabek <[EMAIL PROTECTED]> wrote: > > > > > > > Exactly. Does it work now? > > > > > > /M > > > > > > János Jarecsni schrieb: > > > > > > > > > > > > > Hi Michael, > > > > > > > > I have the following line in the manifest.mf of my T5 component > > > > library > > > > JAR: > > > > > > > > Tapestry-Module-Classes: hu.intellynet.mojito.tapestry.LibraryModule > > > > > > > > Is it what you mean? > > > > > > > > thx > > > > Janos > > > > > > > > On 21/04/2008, [EMAIL PROTECTED] <[EMAIL PROTECTED]> > > > > wrote: > > > > > > > > > > > > > > > > > > > > > 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" > > > > > > 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] > > > > > > > >
Re: Page template and class location
When you contribute it via new LibraryMapping( "mylib", "com.mycompany.package" ) you wanna browse it with http://localhost:8080/mylib/x /M János Jarecsni schrieb: no :) I tried a lot of URLs in the browser, but none worked. What URL did you use to browse to such a page? thx janos On 22/04/2008, Michael Gerzabek <[EMAIL PROTECTED]> wrote: Exactly. Does it work now? /M János Jarecsni schrieb: Hi Michael, I have the following line in the manifest.mf of my T5 component library JAR: Tapestry-Module-Classes: hu.intellynet.mojito.tapestry.LibraryModule Is it what you mean? thx Janos On 21/04/2008, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: 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" 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 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] - 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]
Re: Page template and class location
no :) I tried a lot of URLs in the browser, but none worked. What URL did you use to browse to such a page? thx janos On 22/04/2008, Michael Gerzabek <[EMAIL PROTECTED]> wrote: > > Exactly. Does it work now? > > /M > > János Jarecsni schrieb: > > > Hi Michael, > > > > I have the following line in the manifest.mf of my T5 component library > > JAR: > > > > Tapestry-Module-Classes: hu.intellynet.mojito.tapestry.LibraryModule > > > > Is it what you mean? > > > > thx > > Janos > > > > On 21/04/2008, [EMAIL PROTECTED] <[EMAIL PROTECTED]> > > wrote: > > > > > > > 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" > > > > 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 > > > > > > 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] > > > > > > > > > > > > > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
Re: Page template and class location
Exactly. Does it work now? /M János Jarecsni schrieb: Hi Michael, I have the following line in the manifest.mf of my T5 component library JAR: Tapestry-Module-Classes: hu.intellynet.mojito.tapestry.LibraryModule Is it what you mean? thx Janos On 21/04/2008, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: 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" 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 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Page template and class location
Hi Michael, I have the following line in the manifest.mf of my T5 component library JAR: Tapestry-Module-Classes: hu.intellynet.mojito.tapestry.LibraryModule Is it what you mean? thx Janos On 21/04/2008, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > 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" > > 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 > > > > 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] > >
Re: Page template and class location
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" > 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 > > > 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]
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 > > 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] > >
Re: Page template and class location
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 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]
Re: Page template and class location
Yes, but how? :) I tried various ways, none worked. The library contains the following library module: public static void contributeComponentClassResolver(Configuration 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 On 21/04/2008, Michael Gerzabek <[EMAIL PROTECTED]> wrote: > > János Jarecsni schrieb: > > > I have a component library, x.jar. I placed a y.tml into its pages > > package > > (some.package.pages, where some.package is declared in the library > > module as > > the root package). I added the component jar to the web application, > > still I > > cannot access the x.tml as a page. > > > > > When y.tml is in x.jar then you maybe might want to address y(.tml) in the > browser! > > > Any help is welcome! :) > > > > Cheers, > > Janos > > > > > > > > On 19/04/2008, János Jarecsni <[EMAIL PROTECTED]> wrote: > > > > > > > Hi, > > > > > > can a page be contributed to the web application by a JAR file (just > > > like > > > component templates)? If so, how an URL can be constructed to such a > > > page? > > > Concretely, is it possible for T5 to have a forum.tml residing in the > > > com.foo.bar package of a forum.jar file and use it in the application? > > > > > > thanks in advance, > > > Janos > > > > > > > > > > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
Re: Page template and class location
János Jarecsni schrieb: I have a component library, x.jar. I placed a y.tml into its pages package (some.package.pages, where some.package is declared in the library module as the root package). I added the component jar to the web application, still I cannot access the x.tml as a page. When y.tml is in x.jar then you maybe might want to address y(.tml) in the browser! Any help is welcome! :) Cheers, Janos On 19/04/2008, János Jarecsni <[EMAIL PROTECTED]> wrote: Hi, can a page be contributed to the web application by a JAR file (just like component templates)? If so, how an URL can be constructed to such a page? Concretely, is it possible for T5 to have a forum.tml residing in the com.foo.bar package of a forum.jar file and use it in the application? thanks in advance, Janos - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Page template and class location
I have a component library, x.jar. I placed a y.tml into its pages package (some.package.pages, where some.package is declared in the library module as the root package). I added the component jar to the web application, still I cannot access the x.tml as a page. Any help is welcome! :) Cheers, Janos On 19/04/2008, János Jarecsni <[EMAIL PROTECTED]> wrote: > > Hi, > > can a page be contributed to the web application by a JAR file (just like > component templates)? If so, how an URL can be constructed to such a page? > Concretely, is it possible for T5 to have a forum.tml residing in the > com.foo.bar package of a forum.jar file and use it in the application? > > thanks in advance, > Janos >