You shouldn't drop the "s". You should have:

public String[] getIds()
public void setIds(String[] ids)

public String getIds(int i)
public void setIds(int i, String id)

See:
http://java.sun.com/products/javabeans/docs/spec.html (Section 7.2)
http://java.sun.com/docs/books/tutorial/javabeans/properties/indexed.html

Although, I'm not really sure if Struts makes use of the indexed methods...

Quoting "Nelson, Laird" <[EMAIL PROTECTED]>:

> > -----Original Message-----
> > From: Nelson, Laird [mailto:[EMAIL PROTECTED]
> > So, to sum up, you should have:
> > 
> >   public String[] getIds();
> >   public void setIds(String[] ids);
> >   public void setId(int i, String id);
> 
> ...and public String getId(int i);
> 
> Laird
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


-- 
Kris Schneider <mailto:[EMAIL PROTECTED]>
D.O.Tech       <http://www.dotech.com/>

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

Reply via email to