Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Struts2 : How to display full text of the drop down item when selecting the item in the drop down

 
kumar kolapalli
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a drop down defined using struts2 as below,
<s:select name="Type" headerKey="-1"
Value="All" list="DetailsList" listKey="DetailId" label="Details "
listValue="DetailName" onchange=""/>

In a scenario, When each of the drop down items length is > 20 characters and when we select any of the drop down item, as the text length of the drop down item is more than drop down field size, iam not able
to see the full text of the drop down item.
Can any one please help me how to make full text of the drop down item visible/dispaly when select/view the drop down items.
.- Kolapalli
 
Yogesh Lonkar
Ranch Hand
Posts: 94
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
usually width of this tag is decided at run-time if not specified. so no matter how long your listValue is it should be adjusted proper. check weather you are no using some <div> or <table> tag to restrict width of elements under it.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic