> -----Original Message----- > From: Ian Hunter [mailto:[EMAIL PROTECTED] > 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.
Call it public void setId(int i, String ids) instead, and you should be all set. The JavaBeans specification allows there to be an "indexed setter" for an array property. Indexed setters operate on a single instance of the array type. So, to sum up, you should have: public String[] getIds(); public void setIds(String[] ids); public void setId(int i, String id); Laird --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]