File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Spring and the fly likes Problem with Spring Web Flow Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Problem with Spring Web Flow" Watch "Problem with Spring Web Flow" New topic

Problem with Spring Web Flow

Phoenix Kilimba
Ranch Hand

Joined: Oct 10, 2006
Posts: 64
Dear Sirs et Madames,
Am new to Spring Web Flow and still finding my way around. Am having some issues which am finding quite confusing. I want to create a demographic baseline form. This form will capture Location ID, Location Name, Social Group Id, Social Group Name, Individuals who are members of the social group (a social group can be a family, cohort study group, etc, basically a collection of individuals), and finally, the relationships within the social group. To start of with I enter a location ID. However if the location does not yet exist in the database, there is the option (button) to create a new location. This takes you to a create Location form and is done via Spring WebFlow. When done with creating a location, the application takes you back to the baseline form, also taking care to auto fill in the Location Id and Location Name got from the recently created location.

Likewise with Social Group, you have a choice to enter an existing Id or create a new Social Group which takes you to the Create Social Group Form, creates a group, then takes you back to the Baseline form taking care to auto fill the Social Group ID, Social Group Name got from the recently created Social Group. It should also populate a table just below the Social Group Name textfield with the Individuals in that social group. If there are no individuals registered in the social group, one has the option to create a new Individual by clicking the Add New button and going to the Create New Individual form. Once and individual has been added the user should be taken back to the Baseline form with the recently created Individual adding to the data table. The first two steps work perfectly (Create a location, create a social group) However my issue is for some reason, my datatable containing individuals is not being seen at all? The relevant code is as follows


Baseline form (create.xhtml):

The relevant part in baseline-flow.xml:

SO the issue is mainly that the Individuals table never seems to get populated however many individuals I add in the Create Individual form, could anyone please assist?

Thanking you in advance

You are what you know
Mark Spritzler

Joined: Feb 05, 2001
Posts: 17276

Please be more specific in your topic titles. I was about to close this thread as a duplicate to your previous thread with the exact same title.



Perfect World Programming, LLC - iOS Apps
How to Ask Questions the Smart Way FAQ
I agree. Here's the link:
subject: Problem with Spring Web Flow
It's not a secret anymore!