This content has been marked as final.
Show 2 replies
-
1. Re: suggestionbox is hidden behind modalpanel in IE7
mvitenkov Nov 14, 2008 7:58 AM (in response to sum98044)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
sum98044 Nov 17, 2008 12:35 AM (in response to sum98044)Hi, mvitenkov
yes. it works. many thanks...