Nigel Smith

Greenhorn
+ Follow
since Sep 29, 2004
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Nigel Smith

Hi Sheldon,
Thanks again for the reply.

I guess I'm trying to update the VO.

This is what I'm trying to do:
it's a a maintenance page with many detail lines, each of these lines has zero,one or many milestones associated with it.


I read the details from the DB and create a bean with a list of all the detail lines. Within ech detail line there is another list with the milestones. I retrieve and display the data OK. The problem comes when I try to get the updated information from the page.

What exactly does the code in the html mean? I see that you say I need a method, but what about the setter? How does the part work.

Sorry i'm being a bit vague here, but I'm reallyt confused!!

Nigel


18 years ago
Hi Sheldon,

Thanks for the reply. I tried what you suggested, but to no avail...

this is what I put in the form:



I still get the same error message.

Nigel
18 years ago
I'm trying to using the html:radio tag with the indexed property. I am able to display the radio buttons as I wish, but am confused as to how I should set up the form to receive the values.
This is how I've coded the JSP:



which results in the generated html:

So what should I have in the associated form?

If I leave a variable with the name listMilestone out of the form completly, the I don't get any errors, but I also don't get the value
of the radio button submitted.

If however, I have a String variable listMilestone, the I get errrors like:

The request has a paramter name "listMilestone[1].status", so how do I cater
for that in the form???

How should I declare the variable, and what should the getter and setters look like?


I'm really pulling my hair out with this one!!!
Nigel
18 years ago