2 Replies Latest reply on Nov 17, 2008 12:35 AM by Darrel Su

    suggestionbox is hidden behind modalpanel in IE7

    Darrel Su Newbie

      I am using richfaces 3.1.6 now. As I have suggestionbox in the modalpanel, the result is hidden below it. In Firefox, I specify a large number in the zindex attribute it helps. but not in IE7. The issue seems to be resolved in 3.2.x version but we can not upgrade to this version at this moment. Is there any workaournd?

        • 1. Re: suggestionbox is hidden behind modalpanel in IE7
          Mikhail Vitenkov Newbie

          Hi, sum98044
          When I try to use rich:suggestionBox inside modalPanel, I got the same problem as you describe. FF, Opera & others browsers fine, IE7 - modalPanel overflow suggestionBox(SB). z-index(222 for modalPanel & 333 for SB) doesn't help, but when I remove z-index from modalPanel and leave z-index for SB - issue was resolved.

          JSP:

          <rich:modalPanel id="mpID" showWhenRendered="true">
           <h:form id="test">
           <f:facet name="header">
           <div style="font-weight: bold;">Header</div>
           </f:facet>
          ...
          <h:inputText value="#{sb.property}" id="text" />
           <rich:suggestionbox id="suggestionBoxId" value="#{sb.value}"
           for="text" var="result" fetchValue="#{result.text}"
           zindex="333" ...>
          </rich:suggestionbox>
           <br />
           <h:outputLink
           onclick="Richfaces.hideModalPanel('mpID');return false;"
           value="Close">
           <f:verbatim>Close</f:verbatim>
           </h:outputLink>
           </h:form>
           </rich:modalPanel>
          


          My configuration: tomcat 6.0.16, richfaces 3.1.6.GA, jsf1_2.04-p02, IE7.
          Try to repeat the same action. If it won't help you - let us known.

          • 2. Re: suggestionbox is hidden behind modalpanel in IE7
            Darrel Su Newbie

            Hi, mvitenkov

            yes. it works. many thanks...