Win a copy of Svelte and Sapper in Action this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

Spring Web Flow configuration

Ranch Hand
Posts: 126
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
Ranch Hand
Posts: 686
Netbeans IDE Chrome 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
I can't beleive you just said that. Now I need to calm down with this tiny ad:
the value of filler advertising in 2020
    Bookmark Topic Watch Topic
  • New Topic