You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Matt Redman <Ma...@hass.com.au> on 2003/10/31 01:22:54 UTC
html:options maximum length?
I have a an Array with a large list of names in it (up to about 1000+ or
more).
I need to display these names in a drop down list, but when The page loads
it
simply stops loading after about 837 lines.
The code I am using is:
<html:select property="consultant" style="width: 220px;">
<html:options collection="_Surgeons" property="consultantId"
labelProperty="consultantName" />
</html:select>
Any ideas why it only displays a part of the Array and not the full thing?
Any help is appreciated,
Matt
__________________________________________________________
Disclaimer:
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom
they are addressed.
If you have received this email in error, please notify the addressee
by return email and delete the email.
This email transmission is the property of HAS Solutions and any
information it contains is legally protected. HAS Solutions has no liability
(including liability in negligence) to any person for any loss or damage
consequential or otherwise suffered or incurred by that person resulting
directly or indirectly from either the use of, or reliance on, the
information contained herein.
__________________________________________________________
Re: html:options maximum length?
Posted by Richard Yee <ry...@cruzio.com>.
I think you should re-think your UI design. Besides being very slow, the
select box will be very annoying and difficult for the end user to use. You
should try and narrow down the users choices before they get to the select
box page so that you only need to show a few dozen options at most.
Regards,
Richard
At 04:22 PM 10/30/2003, you wrote:
>I have a an Array with a large list of names in it (up to about 1000+ or
>more).
>I need to display these names in a drop down list, but when The page loads
>it
>simply stops loading after about 837 lines.
>
>The code I am using is:
>
>labelProperty="consultantName" /> Any ideas why it only displays a part of
>the Array and not the full thing? Any help is appreciated, Matt
>__________________________________________________________ Disclaimer:
>This email and any files transmitted with it are confidential and intended
>solely for the use of the individual or entity to whom they are addressed.
>If you have received this email in error, please notify the addressee by
>return email and delete the email. This email transmission is the property
>of HAS Solutions and any information it contains is legally protected. HAS
>Solutions has no liability (including liability in negligence) to any
>person for any loss or damage consequential or otherwise suffered or
>incurred by that person resulting directly or indirectly from either the
>use of, or reliance on, the information contained herein.
>__________________________________________________________
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org