Andrew, When you say incoropation of Spring MVC into Cocoon 2.2, and flowscript. What elements of the MVC architecture are you trying to access in flowscript? are you just trying to obtain a reference to your service objects via flowscript, as they should be available by calling cocoon.getComponent("<beanname>") i.e.: function action(form) { var springService = cocoon.getComponent("SuggestedTermManagementService") .... } <bean id="SuggestedTermManagementService" class="com.mycompany.HibernateSuggestedTermManagementRepository"> <property name="hibernateTemplate" ref="hibernateTemplate"/> </bean>
defined in <blockname>/src/main/resources/META-INF/cocoon/spring/block-servlet-serv ice.xml Or are you trying to go to a page (view) that is managed by Spring MVC from flowscript, this should be a (off top of my head) a matter of sending the flowscript off to a pipeline that goes to the Spring MVC app. Maybe you could use the servlet: protocol in the sitemap to acheive this. /dom ________________________________ From: Andrew Madu [mailto:[EMAIL PROTECTED] Sent: 31 May 2008 11:43 To: users@cocoon.apache.org Subject: Re: Cocoon 2.2 (Flcowscript) and Spring MVC - How To Bump! On Thu, May 29, 2008 at 3:01 PM, Andrew Madu <[EMAIL PROTECTED]> wrote: Hi, can someone please direct me to any available information regarding the incoroporation of Spring MVC into Cocoon 2.2? In particular I would like to know whether Spring MVC can be incorporated into flowscript, and if so how. Many thanks in advance. http://www.bbc.co.uk/ This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated. If you have received it in error, please delete it from your system. Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately. Please note that the BBC monitors e-mails sent or received. Further communication will signify your consent to this.