RE: Spring IoC and Tapestry Forms

2006-05-08 Thread Tony Herstell
Tapestry4. I want to wrap tapestry getting the request for a page and returning from rendering the page with getting the hibernate session and setting up a transaction and doing some logging... I want to do this before I start to open up Spring in Action and integrate Spring into my project (the

Re: Spring IoC and Tapestry Forms

2006-05-08 Thread Stephane Decleire
Thaks a lot Mark Mark wrote: Stephane Decleire wrote: If i understand well your configuration file, you encapsulate the Spring bean messageSource in the class SpringMessageSourceBasedComponentMessagesSource managed by Hivemind. So messageSource is defined as a classic Spring bean in your

Re: Spring IoC and Tapestry Forms

2006-05-08 Thread Mark
Stephane Decleire wrote: If i understand well your configuration file, you encapsulate the Spring bean messageSource in the class SpringMessageSourceBasedComponentMessagesSource managed by Hivemind. So messageSource is defined as a classic Spring bean in your contextApplication file. Correct

Re: Spring IoC and Tapestry Forms

2006-05-08 Thread Stephane Decleire
If i understand well your configuration file, you encapsulate the Spring bean messageSource in the class SpringMessageSourceBasedComponentMessagesSource managed by Hivemind. So messageSource is defined as a classic Spring bean in your contextApplication file. Is that correct ? And how do you in

Re: Spring IoC and Tapestry Forms

2006-05-08 Thread Mark
Are you using the tapestry-spring jar? I think that works for me, using this syntax: class="com.mark_arnold.util.web.tapestry.SpringMessageSourceBasedComponentMessagesSource"> value="spring:messageSource"/> Hope this helps you... M

Re: Spring IoC and Tapestry Forms

2006-05-08 Thread Stephane Decleire
I've tried to import my Spring bean User in Hivemind using SpringLookupFactory without success. Has anybody use this integration ? And could show me a sample of hivemind configuration ? Thanks in advance. Stephane Decleire wrote: Hi, I need a User component in a Tapestry form like this :