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
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Spring Web Flow configuration" Watch "Spring Web Flow configuration" New topic

Spring Web Flow configuration

sudharshan tettu
Ranch Hand

Joined: Jul 17, 2006
Posts: 126
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
I agree. Here's the link: http://aspose.com/file-tools
subject: Spring Web Flow configuration
jQuery in Action, 3rd edition