5 Replies Latest reply on Nov 24, 2016 7:22 AM by asimshaikh1

    Display h:selectOneListbox horizontally


      Hello everyone,


      I have menu which displays year and another which displays month (both display vertically).

      2000     January

      2001     February

      2002     March

      2003     April

      ...         ......


      But I want its dispaly like 2000   2001   2002   2003  ....and January  February   March April   ....


      is this possible with h:selectOneListbox?? .


      please help. below is my code

      <h:outputText value="Year" style="color: black;"/>


                                                          <h:selectOneListbox    id="yearFilterSelectOneMenu"  value="#{eventMaster.yearFilter}">

                                                              <f:selectItems value="#{eventMaster.yearSelectItemsList}" />

                                                              <f:ajax event="change" render="table eventsrecordcount  dataScrollerPanel searchDateCalendar monthFilterSelectOneMenu yearFilterSelectOneMenu HearingSearchInput" listener="#{eventMaster.searchByMonthAndYear}" />