-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Paul,

Strachan, Paul wrote:
> Chris, In my DynForm I'm actually using a java.util.ArrayList
> (contains my bean objects).

So, you have type="java.util.ArrayList" in your form bean definition?
Are you sure that Struts knows how to handle that? It might just be
creating a new ArrayList for your bean property and then not going
anything after that.

Have you tried calling yourFormBean.get("yourArrayList") and checking to
see what it inside of it?

> the http request contains properties:
> checkList[0].resultId=34&checkList[1].resultId=45 etc

Okay, I have my form submitting multiple "addQuestionId" parameters with
no specific subscripts. Perhaps you are trying to do something slightly
differently than I am.

Apologies if I missed the point.

> Dumb question: - assuming your String[] is empty when the
> processPopulate starts, what is the code to grow it to accomodate a
> variable number of http request parameters?

I don't have to worry about it... Struts handles parsing the request
parameters and setting up the array entirely. I merely call getStrings()
on my dyna form bean and I get the data.

- -chris

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFeZG59CaO5/Lv0PARAv2OAKCCllzEmXCL5mdJAMwnXCJquMwvSQCdEXvX
c5UsdhF01rQCoBc88rt2RsU=
=K+l5
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to