You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Geddes, Mark (ANTS)" <ma...@ants.co.uk> on 2001/02/22 11:12:04 UTC

Multiple Select

Could someone confirm whether the fix for bug 260 made it into last night's
build (20010221).
 
If so, then I seem to still have a problem.
 
My form bean has the following getter:
 
  public int[] getApplications() {
    return (this.applications);
  }

My page has the following:
 
<html:select multiple="true" property="applications">
  <html:options
collection="<%=ants.infrastructure.cc.web.Constants.APPLICATIONS_KEY%>"
property="id" labelProperty="name" />
</html:select>

The 'id' property of the object in the collection is an int.
 
As before, the select box is only displaying the first element of the array
returned by the form bean's accessor.
 
Any help would be appreciated.
 
Mark




***************************************************************************
This email message contains confidential information for the above addressee only.  If you are not the intended addressee you must not disclose or use the information in any manner whatsoever.

Any opinion or views contained in this email message are those of the sender, do not represent those of the Company in any way and reliance should not be placed upon its contents.

Unless otherwise stated this email message is not intended to be contractually binding.  Where an Agreement exists between our respective companies and there is conflict between the contents of this email message and the Agreement then the terms of that Agreement shall prevail.

Abbey National Treasury Services plc. Registered in England. Registered Office:  Abbey House, Baker Street, London NW1 6XL.  Company Registration No: 2338548.  Regulated by the SFA
***************************************************************************