Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Java > Java and JDK > J2EE
|
J2EE General J2EE (Java 2 Enterprise Edition) discussions. Questions not specific to EE will be redirected elsewhere.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the J2EE section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 5th, 2007, 05:04 AM
Authorized User
 
Join Date: Sep 2006
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Default How to highlight selected dropdown values.

Hi

I am working on JSF...

I want to highlight the selected value of the dropdown....

<h:selectOneMenu
   styleClass="selectOneMenu"
   value="#{pc_OSPMTAPremises.OSPMTAPremisesBean.ospM taBusinessDesc}"
   style="width:150" id="bizDesc">
   <f:selectItem itemValue="" itemLabel="Please select" />
   <f:selectItem itemValue="1" itemLabel="100000000000000" />
   <f:selectItem itemValue="2" itemLabel="200000000000000" />
   <f:selectItem itemValue="3" itemLabel="300000000000000" />
</h:selectOneMenu>

The dropdown values are little large so that i have set the width of the dropdown, but while displaying the values of the dropdown are getting displayed correctly...

If i increase the dropdown size then alignment of the whole page is getting disturbed..

I want that when user select the dropdown values then it should show complete values.. without changing the width of the dropdown..

sheetal
__________________
sheetal





Similar Threads
Thread Thread Starter Forum Replies Last Post
To highlight multiple selected values in listbox lily611 General .NET 7 August 20th, 2007 12:59 AM
Selected Cell Highlight RollingWoodFarm Excel VBA 1 December 3rd, 2006 11:10 AM
Title: dropdown list as selected according to the san_only ASP.NET 1.x and 2.0 Application Design 1 June 4th, 2003 01:55 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.