4 Replies Latest reply on Oct 4, 2007 11:24 AM by ilya_shaikovsky

    Modal Panel, SelectOneListBox and IE 6 error

    nparfait

      SelectOneListBox does not go into the background when a modal panel is shown.

      IE 6 (6.0.2900.2180.xpsp.05622-1524)


      Sample page:

      <!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:a4j="https://ajax4jsf.dev.java.net/ajax"
       xmlns:rich="http://richfaces.ajax4jsf.org/rich">
      
       <head>
       <title>test</title>
       </head>
      
       <body>
       <f:view>
       <a href="javascript:Richfaces.showModalPanel('wizard',{width:450, top:200})">show</a>
       <h:form id="testform">
       <h:panelGrid>
       <h:inputText id="username"/>
       <h:selectOneListbox size="20">
       <f:selectItem itemValue="Item 1"/>
       <f:selectItem itemValue="Item 2"/>
       <f:selectItem itemValue="Item 3"/>
       <f:selectItem itemValue="Item 4"/>
       <f:selectItem itemValue="Item 5"/>
       <f:selectItem itemValue="Item 6"/>
       </h:selectOneListbox>
       </h:panelGrid>
       </h:form>
       <rich:modalPanel id="wizard">
       <f:facet name="header">
       <h:outputText value="Wizard" />
       </f:facet>
       <f:facet name="controls">
       <h:graphicImage value="/images/modal/close.png" style="cursor:pointer" onclick="Richfaces.hideModalPanel('wizard')" />
       </f:facet>
       </rich:modalPanel>
       </f:view>
       </body>
      </html>