Win a copy of TDD for a Shopping Website LiveProject this week in the Testing 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:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

Problem with Spring Web Flow

 
Ranch Hand
Posts: 64
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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

BaselineBean:



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
 
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
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.

Thanks

Mark
 
The moth suit and wings road is much more exciting than taxes. Or this tiny ad:
Free, earth friendly heat - from the CodeRanch trailboss
https://www.kickstarter.com/projects/paulwheaton/free-heat
reply
    Bookmark Topic Watch Topic
  • New Topic