0 Replies Latest reply on Jul 30, 2008 2:21 PM by Jared

    Problems with modalPanel in Internet Explorer and Safari

    Jared Newbie

      Hello there,

      We are using modalPanel to do advanced search and confirmation boxes. This works perfectly in Firefox. Our testers are reporting failure in IE and Safari.

      The modalPanel does pop open, but it doesn't refresh the list screen when the action is complete.

      <rich:modalPanel id="advancedSearch" width="220" height="420">
       <f:facet name="header">
       <h:outputText value="#{msgs.advancedSearch}" />
       <f:facet name="controls">
       <h:graphicImage value="/images/btn_logout.gif" width="15" style="cursor:pointer" onclick="Richfaces.hideModalPanel('advancedSearch')" />
       <a4j:commandLink action="bookList" reRender="bookList" oncomplete="{Richfaces.hideModalPanel('advancedSearch');}" >
       <h:graphicImage class="searchIcon" id="advSearchGraphc" value="/images/btn_search_UP.gif" alt="#{msgs.search}" />

      As you can see I am calling reRender="bookList" which is the id of the datatable. From what I can tell the problem is something to do with the javascript not running properly on IE and Safari.

      <rich:dataTable width="644" id="bookList" rows="12" value="#{Book.list}" var="book">

      How can I get around this?

      Thanks in advance for any help.