On 17 Jan 2002 [EMAIL PROTECTED] wrote:

> Date: 17 Jan 2002 21:26:18 -0000
> From: [EMAIL PROTECTED]
> Reply-To: Struts Developers List <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: cvs commit: jakarta-struts/src/share/org/apache/struts/config
>     FormPropertyConfig.java
>
> craigmcc    02/01/17 13:26:18
>
>   Modified:    src/share/org/apache/struts/action DynaActionFormClass.java
>                src/share/org/apache/struts/config FormPropertyConfig.java
>   Log:
>

Oops ... hit send too quickly.

This patch fixes the exception Matt was encountering when trying to
declare a <form-property> with a type of "java.lang.String[]" -- in other
words, a String array.

The exception doesn't happen now, but we're still not out of the woods -
by default, the array itself is not going to be created, so trying to use
an indexed setter or getter method is going to throw an NPE.  We probably
need a mechanism to precreate an array of a specified size ...

Craig


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

Reply via email to