I am on holidays, and trying to use some Tapestry awesome features, as the inyection.
But I do not understand some issues, and cannot find the answer in the wiki or somewhere, to the info is not enough clear for me, sorry. This is very simple. In the Java part of a page I want to inject the DAO, so I use this code: @Inject private IAplicacionesDAO appDAO; To have this code running I need to add the service implementation via AppModule and bind: public static void bind(ServiceBinder binder) { binder.bind(IAplicacionesDAO.class,AplicacionesDAO.class); Two questions: a) if I add a constructor to the first class, I have an error: Class com.earroyoron.pages.VerAplicaciones was not transformed for use as a component; this can happen if it is an interface, or was not in a package subject to component transformation and in the documentation I read the constructor was needed! But without it works and with it I have an error…. b) Cannot Tapestry find the service without the bind? The infection in the DAO to use Hibernate does not need to say nothing to Tapestry, it works without any extra configuration in module. Thank you in advance, when I learn I promise to help the newbies! :O)