You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by FA...@AGIRC-ARRCO.FR on 2003/04/23 10:53:02 UTC

Réf. : dynamic amount of form-elements

Hi,

I have had the same problem, you should have a look there
http://jakarta.apache.org/struts/userGuide/building_controller.html#map_action_form_classes






                                                                                                                                       
                      "Mouratidis,                                                                                                     
                      Georg"                   Pour :    "Struts Users Mailing List" <st...@jakarta.apache.org>                  
                      <GMouratidis@heil        cc :                                                                                    
                      er.com>                  Objet :   dynamic amount of form-elements                                               
                                                                                                                                       
                      23/04/03 10:55                                                                                                   
                      Veuillez répondre                                                                                                
                      à "Struts Users                                                                                                  
                      Mailing List"                                                                                                    
                                                                                                                                       
                                                                                                                                       




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







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