wood burning stoves 2.0*
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


JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Define width of select multiple object" Watch "Define width of select multiple object" New topic
Author

Define width of select multiple object

Haroldo Nascimento
Ranch Hand

Joined: Aug 14, 2003
Posts: 79
Hi,
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:
<table>
<td>
<html:select property="usuarioSemPerfilList" multiple="true" size="10">
<html ptions collection="userSemPerfil" property="usuarioId" labelProperty="usuarioNome" />
</html:select>
</table>
 
GeeCON Prague 2014
 
subject: Define width of select multiple object