3 Replies Latest reply on Apr 21, 2010 5:48 AM by Nick Belaevski

    Richfaces and html css problem

    Wei H Newbie

      Hello,

       

      I'm trying to create 2 selection lists by using comboBox and selectOneMenu.

       

      but the 2 lists do not have the same graphical interface, now the web page is like this :

      css1.jpg

      the code is :

       

      <h:selectOneMenu id="Type" 
          value="#{Value.currentType}" styleClass="textCombobox" >
          <s:selectItems var="item" value="#{Choice.typeList}" />
          <a4j:support event="onchange" reRender="ComboBox" />
      </h:selectOneMenu>
                          
       <rich:comboBox id="ComboBox" selectFirstOnUpdate="false" styleClass="textCombobox"
           suggestionValues="#{Choice.valueList}" defaultLabel="Click"
           directInputSuggestions="true" value="#{Value.currentValue}" />
      

       

      Does anyone know how to make the 2 lists look exactly the same?

       

      Thanks in advance.

       

      Sincerely,