Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Spring Web Flow configuration

 
sudharshan tettu
Ranch Hand
Posts: 126
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 686
Chrome Netbeans IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic