i think, because you have not a META-INF/Manifest.mf
in your test classpath that contains the Tapestry-Module-Classes
entry
(http://tapestry.apache.org/tapestry5/tapestry-ioc/module.html#Autoloading%20modules)
2008/2/3, Shing Hing Man <[EMAIL PROTECTED]>:
> Thanks for the suggestion!
>
> After re
Thanks for the suggestion!
After reading
http://wiki.apache.org/tapestry/Tapestry5HowToIocAndHibernate
and tried a few combinations. The following works.
1) In AppModule :
define the MyFolderDAO service as before.
2) Create AppModuleTest.java which is only available
in unit test.
p
dont add the TapestryModule to RegistryBuilder,
it make only sense, if you testing your DAOs
inside a page or component.
2008/2/3, Shing Hing Man <[EMAIL PROTECTED]>:
> I have created a DAO service which has
> HibernateSessionManager (from the tapestry-hibernate
> module) as a property.
> In App
I have created a DAO service which has
HibernateSessionManager (from the tapestry-hibernate
module) as a property.
In AppModule :
public static MyFolderDAO buildMyFolderDAO(
@InjectService("HibernateSessionManager")
HibernateSessionManager sessionManager)
{