-1

I am working on an application where I am using a dropdown which is populated by large values. The values destroy the page structure. How can I adjust the dropdown length to correctly show the page? This is the code for the dropdown:

 <td>
     <h:selectOneMenu id="basicSalary" value="#{searchMemberBean.memberBO.grossSalaryRange}">
     <f:selectItem itemLabel="SELECT" itemValue=" " id = "selectItem11"/>
     <f:selectItem itemLabel="Salary less than 4,000 AED per month" itemValue="1" id = "selectItem12"/>
     <f:selectItem itemLabel="Salary between 4,001 and 12,000 AED per month" itemValue="2" id = "selectItem33"/>
     <f:selectItem itemLabel="Salary greater than 12,000 AED per month" itemValue="3" id = "selectItem34"/>
     <f:selectItem itemLabel="No salary-for dependents or children that do not acquire a salary" itemValue="4" id = "selectItem35"/>
     </h:selectOneMenu>
</td>

How can I adjust the dropdown length to fit the page?

Bram
  • 2,718
  • 1
  • 22
  • 43
born2code
  • 9
  • 5
  • 1
    JSF is in this regard just an html generator ((c) BalusC). Look at the client side html. Ask a question about that code and than apply it to your jsf code. – Kukeltje Mar 30 '16 at 15:00
  • can you provide the complete dropdown code?? – Rayan Sp Mar 30 '16 at 15:19

1 Answers1

-2

Did you try max-width or max-height?

Jaycaponex
  • 65
  • 7