Hi!
I would like to add service from our own ioc container (pico based) so that
they may used in my tapestry projects.
I.e. I have an ioc container used within none Tapestry projects.
Now I would like to be able to use those services from within my Tapestry
pages components and services.
I didn't find any example on how to do it for pico but found this for guice
http://tawus.wordpress.com/2011/04/22/tapestry-magic-4-integrating-guice/
I tried to follow that one and adopt it for our container but have not been
lucky yet!
I have created 4 classes (Our own IOC container is called
ApplicationContainer)
TapestryApplicationContainerFilter.java
ApplicationContainerModuleDef.java
ApplicationContainerObjectProvider.java
ApplicationContainerServiceDef.java
But I cant figure out how the ServiceDef and ObjectProvider should be
implemented.
Thanks in advance!
/Gunnar Eketrapp
I would like to add service from our own ioc container (pico based) so that
they may used in my tapestry projects.
I.e. I have an ioc container used within none Tapestry projects.
Now I would like to be able to use those services from within my Tapestry
pages components and services.
I didn't find any example on how to do it for pico but found this for guice
http://tawus.wordpress.com/2011/04/22/tapestry-magic-4-integrating-guice/
I tried to follow that one and adopt it for our container but have not been
lucky yet!
I have created 4 classes (Our own IOC container is called
ApplicationContainer)
TapestryApplicationContainerFilter.java
ApplicationContainerModuleDef.java
ApplicationContainerObjectProvider.java
ApplicationContainerServiceDef.java
But I cant figure out how the ServiceDef and ObjectProvider should be
implemented.
Thanks in advance!
/Gunnar Eketrapp