Re: Passing an array of fields to ActionForm

2005-11-07 Thread Ulrich Elsner
Hi, I found that the easiest way to do this is to use LazyLists. (cf. http://wiki.apache.org/struts/StrutsCatalogLazyList). You can then work just as you with fixed lists. An example: in my jsp I have something like ... (Note the indexed="true"). I have a javascript function that creates

Re: Passing an array of fields to ActionForm

2005-11-05 Thread Paul Benedict
Arrays (and collections for that matter) are just single objects with an unknown size. You can just specify a property to be a String[] and then a loop to print out whatever you want. __ Yahoo! FareChase: Search multiple travel sites in one clic

Re: Passing an array of fields to ActionForm

2005-11-05 Thread Frank W. Zammetti
Hi Anupam, Two references that may be of relevance: http://www.developer.com/java/ent/article.php/2233591 and http://struts.apache.org/struts-doc-1.2.7/userGuide/building_view.html#indexed Frank Agnisys wrote: Hi, In my application the user can add any number of input text fields to add