Hi,
Well, lets see:
The first step is to display a fixed number of text fields that the
user can set. Say I want to have several fields "from" and "to". So, I
create a bean with
public class ZuordData {
private String to;
private String from;
/* Constructors, getters setters etc */
}
The
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
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
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
Hi,
In my application the user can add any number of input text fields to add
properties to a form
(implemented using Javascript). Is there a way to create an ActionForm that can
get an array of
property values from the JSP page, without knowing how many they are? How would
such properties be
5 matches
Mail list logo