]
Nick Belaevski resolved RF-3350.
--------------------------------
Resolution: Cannot Reproduce Bug
Assignee: Tsikhon Kuprevich
Selection doesn't work in modalPanel with FF2
---------------------------------------------
Key: RF-3350
URL:
http://jira.jboss.com/jira/browse/RF-3350
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.1.5
Environment: Tomcat 5.x, MyFaces 1.1.5.
Reporter: Paul Andrews
Assigned To: Tsikhon Kuprevich
If there is an HTML element in a modal panel that requires a selection, it doesn't
work in FireFox 2.x unless you drag or resize the modal panel first. It works fine in IE6.
Here is a little test page:
<%@ page language="java" contentType="text/html;
charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
<%@ taglib
uri="http://richfaces.org/a4j" prefix="a4j"%>
<%@ taglib
uri="http://richfaces.org/rich" prefix="rich"%>
<%@ taglib
uri="http://java.sun.com/jsf/core" prefix="f" %>
<%@ taglib
uri="http://java.sun.com/jsf/html" prefix="h" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<title>
Modal Test
</title>
</head>
<body>
<f:view>
<rich:calendar id="date" value=""/>
<h:form>
<h:commandLink onclick="Richfaces.showModalPanel('testPanel');return
false;" value="Show test panel"/>
</h:form>
<rich:modalPanel id="testPanel">
<f:facet name="header">
<h:outputText value="Test Panel" />
</f:facet>
<f:facet name="controls">
<h:graphicImage value="images/modal/close.png"
style="cursor:pointer"
onclick="Richfaces.hideModalPanel('testPanel')" />
</f:facet>
<h:form id="fdsdForm">
<h:commandLink onclick="Richfaces.hideModalPanel('testPanel');return
false;" value="Hide this panel"/>
<h:selectOneListbox>
<f:selectItem itemValue="One"/>
<f:selectItem itemValue="Two"/>
</h:selectOneListbox>
</h:form>
</rich:modalPanel>
</f:view>
</body>
</html>
Trying to select an item in the list box doesn't work until you have dragged the
page. I pored through the JavaScript source but couldn't see anything obviously wrong
and all my attempts to fix the issue by simulating a drag from JavaScript failed. A
work-around would be great since I get the feeling that work on the 3.1.x branch of
RichFaces has ceased.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: