I thought there was something slightly awry in your thinking. I guess
that's where examples really do help. Good luck with it,
Adam
On 10/09/2003 03:15 AM Cornellious Mann wrote:
Adam,
I missed the point about adding the index to the input
field name. I was simply naming the field the same
in
name or type.
If the former, then it would be easy to make a form
that defined them
all, and to use logic tags to display the needed
fields or not in JSP.
Adam
On 10/07/2003 09:48 PM Cornellious Mann wrote:
I am wondering what is the best approach to handle
dynamic form fields within
that defined them
all, and to use logic tags to display the needed
fields or not in JSP.
Adam
On 10/07/2003 09:48 PM Cornellious Mann wrote:
I am wondering what is the best approach to
handle
dynamic form fields within an ActionForm.
I have a JSP page that will display quantity
or not in JSP.
Adam
On 10/07/2003 09:48 PM Cornellious Mann wrote:
I am wondering what is the best approach to
handle
dynamic form fields within an ActionForm.
I have a JSP page that will display quantity
input
fields for a dynamic list of products. I don't
know
how many products will be in the list
.
Adam
On 10/07/2003 09:48 PM Cornellious Mann wrote:
I am wondering what is the best approach to
handle
dynamic form fields within an ActionForm.
I have a JSP page that will display quantity
input
fields for a dynamic list of products. I don't
know
how many products
all, and to use logic tags to display the needed
fields or not in JSP.
Adam
On 10/07/2003 09:48 PM Cornellious Mann wrote:
I am wondering what is the best approach to
handle
dynamic form fields within an ActionForm.
I have a JSP page that will display quantity
input
fields for a dynamic
.
If the former, then it would be easy to make a
form
that defined them
all, and to use logic tags to display the
needed
fields or not in JSP.
Adam
On 10/07/2003 09:48 PM Cornellious Mann wrote:
I am wondering what is the best approach to
handle
dynamic form fields
, then it would be easy to make a
form
that defined them
all, and to use logic tags to display the
needed
fields or not in JSP.
Adam
On 10/07/2003 09:48 PM Cornellious Mann wrote:
I am wondering what is the best approach to
handle
dynamic form fields within an ActionForm.
I have a JSP page
This worked. :) Do you know if the order is
guaranteed? From my testing it looks like the values
appear in the array in the same order the parameters
in the URL line.
--- Adam Hardy [EMAIL PROTECTED]
wrote:
Yes, but because they're indexed, you will see the
result as an array.
On
They're indexed! 0 becomes 0, 1 becomes 1 etc., i.e. the order they went
out with remains the same when they come back in. I think you must be
missing the point here somewhere
On 10/08/2003 10:34 PM Cornellious Mann wrote:
This worked. :) Do you know if the order is
guaranteed? From my
I just did this, maybe an example will help
Read the database and stuff the data into an
arraylist. Stuff the arraylist into the form. Call
the page and get something like this
tr
td class=datainput type=checkbox
name=feelistinfo[0].associated value=Y
checked=checked
I guess my question about order was more of
HTML/submit question than a question about arrays. I
just want to guarantee that the order of the values
being sumitted stay in the order they are on the page.
I was simply giving every input field the same name
such as product and catching the values
Adam,
I missed the point about adding the index to the input
field name. I was simply naming the field the same
thing. It actually worked, but it worried me. Thansk
for all of the help! :)
--- Adam Hardy [EMAIL PROTECTED]
wrote:
They're indexed! 0 becomes 0, 1 becomes 1 etc., i.e.
the
I am wondering what is the best approach to handle
dynamic form fields within an ActionForm.
I have a JSP page that will display quantity input
fields for a dynamic list of products. I don't know
how many products will be in the list until runtime.
How can I set up my ActionForm to handle
or not in JSP.
Adam
On 10/07/2003 09:48 PM Cornellious Mann wrote:
I am wondering what is the best approach to handle
dynamic form fields within an ActionForm.
I have a JSP page that will display quantity input
fields for a dynamic list of products. I don't know
how many products
() );
}
...
This should help.. Cheers Mark
On Tuesday, October 7, 2003, at 08:48 PM, Cornellious Mann wrote:
I am wondering what is the best approach to handle
dynamic form fields within an ActionForm.
I have a JSP page that will display quantity input
fields for a dynamic list of products. I
fields or not in JSP.
Adam
On 10/07/2003 09:48 PM Cornellious Mann wrote:
I am wondering what is the best approach to handle
dynamic form fields within an ActionForm.
I have a JSP page that will display quantity input
fields for a dynamic list of products. I don't
know
how many
17 matches
Mail list logo