Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to control the length of <selectonemenu while while data is coming from database

 
tej ku
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How to make size of dropdownlist uniform while data is coming from database
PLEASE CHECK the ATTACHMENT to see how it appears on screen. Any help will be appreciated


Filename: dropdownlist.bmp
Description:
File size: 960 Kbytes
[Download dropdownlist.bmp] Download Attachment
 
Pradeep Katipamula
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It is recommended to UseCodeTags. It gives better readability.

Thanks,
Pradeep
 
Pradeep Katipamula
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Now coming to your problem. I could not understand your problem. Do you want to control the width of the select list or control the width of the items in the select list.

Anyways if its the first one that you are looking out for, then here is the link to control the width of select list.

If its not the one, kindly elaborate.

Pradeep
 
tej ku
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
please check the attachment........I want to control the width of the <h:selectOneMenu to make it uniform.
 
tej ku
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
style="width:150px;" attribute is the solution. It is working now...........
 
Pradeep Katipamula
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ah.. Good.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic