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]