You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Mouratidis, Georg" <GM...@heiler.com> on 2003/04/23 10:55:22 UTC

dynamic amount of form-elements

Hi @ all,


i have the following problem:

I want to create a form with different amount of form-elements.
The exact amount of this elements can only be determine at runitme.
This means that for one customer i have e.g. 5 form elements, another customer has 10 elements for the same form.
The some customer can add additional elements or remove existing elements.

Now, how can i keep my ActionForm dynamic. I do not know on developing time the exact amount of this elemenst so
i am not able to create my getter/setter-Methods.


How can a customer add/remove elements?
. my suggestion was to keep this information in a xml-file. So, a customer can add/delete a node-element. If there is a better way to solve this problem please tell me


( I hope my english is not that bad :-) )


mit freundlichen Grüßen 

Georg XL. Mouratidis 
Projektleiter 

Heiler|Software AG
Mittlerer Pfad 9 
D-70499 Stuttgart 

Tel: 0711-139 84-265
Fax: 0711-866 63 01 
Email: gmouratidis@heiler.com 

Connecting Buyer and Supplier
http://www.heiler.com 




---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org