This week's book giveaway is in the OCAJP forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide 1Z0-808 and have Jeanne Boyarsky & Scott Selikoff on-line! See this thread for details.
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?