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:

<form name="operationForm" method="POST"
action="/apla/operationList.do">
  <input type="hidden" name="list[0].opIdString" value="31">
  <input type="text" name="list[0].packageName" value="Pack1">          


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:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to