Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0

Hi,

Im planning to work on generating the Form fields (both label and the actual field value say text box) dynamically based on some input file (XML) in my application and in this case im not using external forms, Im trying to use form builder itself.

For example, I will get inputs from a web page and then save those details in a XML file and in the successive steps I would invoke the workflow which will have Request/Approve flows, on the Request it would show up a form (which had been mapped in the workflow) which will have the input details from the XML file that has been saved earlier.

I went through the wflow-form and wflow-formsweb source codes and got some Idea on the form manipulations and these are mainly being handled in FormController, FormFacade and FormUtil codes. I want to know whether this dynamic form field generation can be done or not. As far as I went through, the form data/values were mostly being manipulated with the process or activity instance Ids and I dont see the actual form labels or values being generated there.

Kindly let me know whether this can be achieved or any other possible solutions for my use case.

Thanks,

Vignesh