I have the following problem, maybe there's a pattern for but I have no idea.
I have to dynamicly create forms depending on a specific code.
to be clear: I have the first form, where the user selects a code (1-300), when he submits the user should be redirected to a form whit code specific imput fields depending on the code given earlier.
How would you solve this problem ?
-
Dynamic struts-forms (2 messages)
- Posted by: Joeri Cuball
- Posted on: December 19 2003 07:06 EST
Threaded Messages (2)
- Dynamic struts-forms by stephen smithstone on December 19 2003 07:32 EST
- Dynamic struts-forms by Joeri Cuball on December 19 2003 08:43 EST
-
Dynamic struts-forms[ Go to top ]
- Posted by: stephen smithstone
- Posted on: December 19 2003 07:32 EST
- in response to Joeri Cuball
create a map backed form
http://jakarta.apache.org/struts/userGuide/building_controller.html#map_action_form_classes -
Dynamic struts-forms[ Go to top ]
- Posted by: Joeri Cuball
- Posted on: December 19 2003 08:43 EST
- in response to stephen smithstone
the input fields are not only text, but can be combo / dropdown lists...
the backend what code needs what inputs fields is stored in xml atm, but I guess this can be anything from flat files to an db (but doesn't really matter here)
I just read it and then I need to make a form from it dynamicly ... not only input fields