wood burning stoves*
The moose likes Struts and the fly likes Define width of select multiple object Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Define width of select multiple object" Watch "Define width of select multiple object" New topic

Define width of select multiple object

Haroldo Nascimento
Ranch Hand

Joined: Aug 14, 2003
Posts: 79
I am using the object select multiple in my page. The problem is that your width is variable (is dependents of lenght of String that belows the select). When there is not element in the object select your width is strait (small).
I try insert space in the final of Strings, but the object select multiple remove this character.
How I can define the width the object select multiple ? I need define the width of object select multiple independent of number of strings (0 or more) e independent of lenght of string.
It is my object select:
<html:select property="usuarioSemPerfilList" multiple="true" size="10">
<html ptions collection="userSemPerfil" property="usuarioId" labelProperty="usuarioNome" />
I agree. Here's the link: http://aspose.com/file-tools
subject: Define width of select multiple object
Similar Threads
select tag question
tag library
html:select in Struts
ActionForm contains ArrayList
getting multiple values out of an html:select option box