Win a copy of Terraform in Action this week in the Cloud 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Rob Spoor
  • Bear Bibeault
Saloon Keepers:
  • Jesse Silverman
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Al Hobbs
  • salvin francis

Sample Spring Web Flow Application

 
Greenhorn
Posts: 28
Eclipse IDE
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,

I'm searching for a basic Spring Web Flow application code on net but I'm unable to find. I'm suppose to cover the 3 chapters in the Web Flow tutorial given in the Springsource through an example. But the simple example is not found. Can someone please help me with a sample web flow application?

thanks in advance
 
ranger
Posts: 17346
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I believe there are samples when you download the Web Flow project from SpringSource. Or at least samples to download on the project website. There is also a website up with Webflow to run in the browser.

Yep here

Online sample application is available here:
http://richweb.springframework.org/swf-booking-faces/spring/intro

Sample applications can be downloaded here:
http://www.springsource.org/webflow-samples

Mark
 
Ranch Hand
Posts: 229
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi, I am building my webflow application based on the booking app. It works fine with one single flow.
When I want to add a second flow (eg. hotels/checkout) to it, it still use the old path (hotels/booking).

What should I do in order to add a second flow to the application?

I have added the second flow using the following configuration:

webmvc-config.xml:

<bean name="hotels/checkout" class="...ChckoutFlowHandler" />

and then I also created directory/files for
hotels/checkout/checkout-flow.xml
and other jsp files under hotels/checkout/

I also created hotels/checkout/views.xml like so:



During page execution, hotels/checkout? is getting called, but it was redirected to the page under hotels/booking/ rather than hotels/checkout/

What is missing in my spring setup?

Any suggestion would be very appreciated.
Thanks
Sam
 
reply
    Bookmark Topic Watch Topic
  • New Topic