Announcement Announcement Module
No announcement yet.
Flow/Sub Flow self populating Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • Flow/Sub Flow self populating

    Hi Guys,

    I have to create a spring web flow that will self populate a table on the parent flow. For example, after creating a client adding several contact addresses to the table.

    To do this, I have a parent web flow (table display) which when clicking 'add address' executes an additional sub flow - at that point on the parent flow it invokes a method in the Java object and sets up a new array index and stores the passed flowscope parameter. After going to the address subflow and filling it in, on transition back to the parent flow the flowscope is passed out to the parent flow.

    Does this method sound correct for collating the address fields? Or am I missing a step somewhere?

    I then have the problem of displaying these addresses on the JSP view, they are all binded to the Addresses List() item in the pojo getter/setter but I am not sure how to bind to this array and display each field in a table for each row.

    Any tips on this would be hugely appreciated.

    Thanks in advance
    Last edited by JaB; Apr 17th, 2008, 11:58 AM.