wood burning stoves 2.0*
The moose likes Spring and the fly likes Spring Web Flow configuration Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Spring Web Flow configuration" Watch "Spring Web Flow configuration" New topic
Author

Spring Web Flow configuration

sudharshan tettu
Ranch Hand

Joined: Jul 17, 2006
Posts: 124
Hi
I am using webflow as part of my project .In the spring-faces-config.xml am configuring the faces flow builder services like this as mentioned in examples.
<webflow:flow-registry id="flowRegistry" flow-builder-services="facesFlowBuilderServices" >


as am giving /trade am forced to use the same name in flowBuilderServices like WEB-INF/flows/trade.xml, how can I configure such that i can map different names like trade-flow.xml etc instead of naming my flow xml as trade.xml.
Vyas Sanzgiri
Ranch Hand

Joined: Jun 16, 2007
Posts: 686

I m not an expert but I think you can use

<webflow:flow-location path="/WEB-INF/flows/trade-flow.xml" />

and the flow ID will be trade

but then you can also use the ID attribute for flow-location to create a specific flow ID


===Vyas Sanzgiri===
My Blog
 
 
subject: Spring Web Flow configuration
 
Similar Threads
Error Nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException WebFlow
Spring web flow: Not proceeding from first page to second page
collection getting appended on refresh of page
Encountering server internal error while running the local application in the tomcat server.
migrate a project from spring 2.5 Jboss 4.2.3 to jboss 6, a NoSuchBeanDefinitionException