1 Reply Latest reply on Nov 4, 2010 9:58 AM by Ilya Shaikovsky

    Bug: Autocomplete list is hidden behind popupPanel in RichFaces Milestone3

    Mette Hummel Newbie

      I'm using RichFaces4 Milestone 3. I add an autocomplete to an popupPanel, but it does not work as expected. The list of autocomplete elements is hidden behind the popup panel. I have tried to set the z-index on the autocomplete element in order to make it appear on top but it does not help.This must be a bug !

       

      Mette

       

      <?xml version="1.0" encoding="ISO-8859-1"?>

      <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

      <html xmlns="http://www.w3.org/1999/xhtml"

              xmlns:ui="http://java.sun.com/jsf/facelets"

              xmlns:h="http://java.sun.com/jsf/html"

              xmlns:f="http://java.sun.com/jsf/core"

              xmlns:rich="http://richfaces.org/rich">

      <h:head>

      </h:head>

      <body>

      <f:view>

              <h:form id="form">

                      <h:commandButton id="leggTilKontroll" value="Button">

                              <rich:componentControl target="popup"

                                      operation="show" />

                      </h:commandButton>

              </h:form>

              <rich:popupPanel id="popup" autosized="true">

                      <h:form>

                              <rich:autocomplete mode="cachedAjax"

                                      autocompleteMethod="#{autocompleteBean.autocomplete1}" />

                      </h:form>

              </rich:popupPanel>

      </f:view>

      </body>

      </html>