Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Sample Spring Web Flow Application

 
N Deepu
Greenhorn
Posts: 28
Eclipse IDE
  • Mark post as helpful
  • send pies
  • 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
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • 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
 
sam White
Ranch Hand
Posts: 229
  • Mark post as helpful
  • send pies
  • 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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic