]
Sergey Halipov reassigned RF-2964:
----------------------------------
Assignee: Ilya Shaikovsky (was: Sergey Halipov)
Done in trunk. Committed revision 7601.
Nested Modal Panel doesn't work on IE7
--------------------------------------
Key: RF-2964
URL:
http://jira.jboss.com/jira/browse/RF-2964
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.1.3
Environment: Windows Internet Explorer 7
Reporter: Axel Osorio
Assigned To: Ilya Shaikovsky
Priority: Minor
Fix For: 3.2.1
I have a problem with a nested Modal panel.
This is my source code.
When I click the button, the first modal panel opens correctly. And in this modal panel I
have a button that shows another modal panel.
The problem is when I click the button in the first open modal panel to open the second
modal, the second modal panels but it doesn't work anything.
All the operation of IE is blocked. In Firefox, this works fine, but in IE 7 all the
window is blocked, even I cannot close my window of IE. I have to close from the task
manager.
I tried with different Zindex, 1st modal panel low, 2nd modal panel high, even 1st modal
high and 2nd modal low, tried with different zindex in very long ranges, nothing works.
I don't know where is the problem. I hope that someone can help me. Thank you very
much.
<?xml version='1.0' encoding='ISO-8859-1' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html
xmlns="http://www.w3.org/1999/xhtml"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:a4j="http://richfaces.org/a4j"
xmlns:rich="http://richfaces.org/rich"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html">
<head>
</head>
<body>
<a4j:commandButton id="saveButtonE"
action="#{mainAc.saveContratoPruebaAction}"
onclick="Richfaces.showModalPanel('showSignature');" value="open
the modal" />
<rich:modalPanel id="showSignature"
moveable="true"
resizeable="true"
zindex="500" >
<f:facet name="header">
<h:outputText value="Proporcione su password:"/>
</f:facet>
<f:facet name="controls">
<h:graphicImage
value="resource:///asdpapp/resources/images/close.png"
style="cursor:pointer"
onclick="Richfaces.hideModalPanel('showSignature')" />
</f:facet>
<a4j:form id="submitdoble" onsubmit="return
false">
<a4j:outputPanel id="outputPanelThird">
<h:panelGrid columns="2"
id="thirdparypanelgrid">
<h:outputText id="signLabel"
value="Password:" />
<a4j:commandButton id="mostraranid" onclick
="Richfaces.showModalPanel('showrich2');" value="panelanidado"
/>
</h:panelGrid>
</a4j:outputPanel>
</a4j:form>
</rich:modalPanel>
<rich:modalPanel id="showrich2"
moveable="true"
resizeable="true"
zindex="800" >
<f:facet name="header">
<h:outputText value="Proporcione su password22:"/>
</f:facet>
<f:facet name="controls">
<h:graphicImage
value="resource:///asdpapp/resources/images/close.png"
style="cursor:pointer"
onclick="Richfaces.hideModalPanel('showrich2')" />
</f:facet>
<a4j:form id="submitanidatedpanel">
<a4j:outputPanel id="panelanidout">
<h:panelGrid columns="2"
id="panelanidgrid">
<h:outputText id="pasignLabel"
value="Password:" />
<h:inputText id="pasignPassword"
value="#{mainAc.dobleFirmaValue}"/>
<a4j:commandButton id="pasubmitdoble1"
actionListener="#{mainAc.validaDobleFirma}" oncomplete
="javascript:if(#{mainAc.resultDobleFirma eq
'valid'}){doblefirmavalida();}else{doblefirmanovalida();}"
value="Validar Doble" />
</h:panelGrid>
</a4j:outputPanel>
</a4j:form>
</rich:modalPanel>
</body>
</html>
_______________________
Axel Osorio
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: