Ah-HAH!  I was adding back in some other methods and broke it again, but I
think I get it.

My "setter" method is called "public void setIds (String ids[])" -- when I
created a method called "public void setIds(int i, String ids)" that killed
it because BeanUtils.populate was calling the wrong setter method.

What is the "correct" convention for creating getter/setting methods for
accessing individual entries within an Array when you ALSO have
getter/setters that handle the array as a whole?  I thought I had it
right -- I thought you overloaded the array methods and stuck an index in.

----- Original Message -----
From: "Ian Hunter" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Monday, February 24, 2003 11:57 AM
Subject: Re: <html:select> "multiple" problems


> It's working perfectly now.  I don't know for sure what fixed it; I
compared
> the example code to mine, started pulling stuff OUT of my class, Tomcat /
> Sun ONE Studio started acting funny, so I closed everything, blew away the
> Tomcat /work directory, tried again, and *poof* no more errors.  I think I
> had something cached that was screwing me up.  Thanks for all the input...
>


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

Reply via email to