4 Replies Latest reply on Feb 2, 2009 9:24 AM by Ilya Shaikovsky

    comboBox suggestion list rendering above input

    Jonathan Moores Newbie

      In IE 7 I get my suggestion list for the rich:comboBox appearing above the input box.

      I am using 3.3.0 GA1.

      Anybody any idea what could cause it? I have tried making sure the content is sized to 100%.

      Code is very simple.


      <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
      <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
      <%@ taglib prefix="c" uri="http://java.sun.com/jstl/core_rt" %>
      <%@ taglib uri="http://richfaces.org/a4j" prefix="a4j" %>
      <%@ taglib uri="http://richfaces.org/rich" prefix="rich" %>
      <f:loadBundle basename="com.moores.psh.messages.MessageResources" var="msg"/>
      <html>
      <head>
       <style>
       body {
       background-color: yellow;
       vertical-align: middle;
       }
       #content
       {
       width: 100%;
       height: 100%;
       background-color:red;
       }
       </style>
      </head>
      <body>
      <f:view>
      
       <div id="content">
       <rich:comboBox style="width: 160px; height: 200px;" defaultLabel="Enter some value">
       <f:selectItem itemValue="suggestion 1"/>
       <f:selectItem itemValue="suggestion 2"/>
       <f:selectItem itemValue="suggestion 3"/>
       <f:selectItem itemValue="suggestion 4"/>
       <f:selectItem itemValue="suggestion 5"/>
       </rich:comboBox>
       </div>
      
      </f:view>
      </body>
      
      </html>