Thanks.

I was not precise enough: the application module DOES load when I put it in a 
jar with a manifest containing the Tapestry-Module-Classes key, but it does not 
load just by the default name derived in the way described in the documentation.

But now i think that may be due to the developement environment. I'm running 
jetty 6.1.6 with the the run-jetty plugin under eclipse 3.3, so maybe T5 has 
some problems finding the package at load time (all other packages in the tree 
are found, though).

Regards,
Udo.


-------- Original-Nachricht --------
> Datum: Wed, 2 Jul 2008 07:39:47 -0700
> Von: "Howard Lewis Ship" <[EMAIL PROTECTED]>
> An: "Tapestry users" <users@tapestry.apache.org>
> Betreff: Re: T5 howto manually add a service module?

> Yes, by subclassing the TapestryFilter class; there's a method to
> override that allows you to have greater control over what modules are
> loaded.
> 
> However, the easier way is to figure out why your AppModule is not
> being loaded; once that is loaded, you can place a @SubModule
> annotation on it to expressly load whatever modules you want.
> 
> On Wed, Jul 2, 2008 at 5:41 AM, Udo Abel <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > I want to add some services to the T5 IoC resgistry and have read a
> number of pages on how to write such a service, but I havn't found 
> instructions
> on how to add the module class with service definitions to the registry,
> besides the hint that T5 autoloads module classes found in the manifest of
> jars.
> > I have also tried the default app module name constructed from the
> filter name, but that seems not to work.
> >
> > Is there a way tp explicitly add a module class to tzhe registry?
> >
> > Thanls,
> > Udo.
> >
> > --
> > Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten
> > Browser-Versionen downloaden: http://www.gmx.net/de/go/browser
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> 
> 
> 
> -- 
> Howard M. Lewis Ship
> 
> Creator Apache Tapestry and Apache HiveMind
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

-- 
GMX startet ShortView.de. Hier findest Du Leute mit Deinen Interessen!
Jetzt dabei sein: http://www.shortview.de/[EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to