Hi folks, I'm going nuts & having a very unproductive day here trying to save these nested tags as I mentioned earlier. I've boiled down my ignorance so to speak to the following question:
How or why is the following input tag name / http request param: monkeyTeamAlpha.monkeyWorkers[0].salary saved to the MonkeyBean object within an ArrayList monkeyList within a MonkeyTeamBean within the formbean? I know JSP will automatically save parameters to a javabean with the correctly named getters and setters, but there's obviously a gap in my knowledge because all my attempts to recreate the situation above have failed. I'll go off and try to find something in Sun's JSP specification, but if anyone can give me a clue, I'd be massively grateful. Thanks Adam [EMAIL PROTECTED] schrieb am 12.06.2002, 15:15:30: > Hi All, > I am trying to save a list created with the nested:iterate tag (from an > object array in my form bean). I've written my code by following the > SaveMonkey example from Arron Bates' KeyboardMonkey site (kudos to you, > capt'n) - but the object array doesn't get recreated on a submit! > > Can I use a nested:iterate tag on an array straight out of the form > bean? That seems to be the only difference I can see between mine and > the SaveMonkey demo. > > The setList(Object[] newList) isn't working. Struts or Tomcat isn't > recognising it as a normal javabean property setter I guess. Here's what > the HTML looks like: > > > > > > > Should I keep looking for a bug that's stopping the setList() method > from being recognised as a setter method? > > Thanks if you can help, > Adam > > -- > To unsubscribe, e-mail: > For additional commands, e-mail: -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>