Win a copy of Hands On Software Engineering with Python this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Bear Bibeault
  • Knute Snortum
  • Liutauras Vilda
Sheriffs:
  • Tim Cooke
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Tim Moores
  • Frits Walraven
  • Ron McLeod
  • Ganesh Patekar
  • salvin francis
Bartenders:
  • Tim Holloway
  • Carey Brown
  • Stephan van Hulst

selectOneMenu width  RSS feed

 
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
�Is it possible to change selectOneMenu size so it fits other components in a form? Just for visual appeareance.

Thanks in advance.
 
Rafa de Castro
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Stupid me.

Just using CSS.
 
Ranch Hand
Posts: 455
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Add outputtext with blank value and set the style of the outputext

<h:outputText value="" style="width:100px" />

Hope it helps !!

Thanks,
[ August 23, 2006: Message edited by: Rajeev Ravindran ]
 
Ranch Hand
Posts: 125
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I moved it to here
[ September 21, 2006: Message edited by: Joe Jose ]
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I have similar question like this. I want to reduce the width of selectItems from selectOneMenu. Here i can control the width of selectOneMenu box but unable to reduce the width of <f:selectItems> where my all items are coming from DB.
Most important point is here items value length can increase but items width will not impact if length will increase.

Can anyone help on this.

Thanks & Regards
Sailendra Narayan Jena
Sample.jpg
[Thumbnail for Sample.jpg]
Requirement sample
 
I just had the craziest dream. This tiny ad was in it.
RavenDB is an Open Source NoSQL Database that’s fully transactional (ACID) across your database
https://coderanch.com/t/704633/RavenDB-Open-Source-NoSQL-Database
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!