[richfaces-issues] [JBoss JIRA] (RF-12148) [rich:inplaceSelect] js error if clicking beneath list where the list shadow is rendered
Jan Papousek (JIRA)
jira-events at lists.jboss.org
Thu Apr 5 09:39:48 EDT 2012
[ https://issues.jboss.org/browse/RF-12148?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jan Papousek updated RF-12148:
------------------------------
Steps to Reproduce:
# deploy Metamer and open http://localhost:8080/metamer/faces/components/richInplaceSelect/simple.xhtml
# click on the input field (popup list is displayed)
# click just under the displayed popup list
# look at FireBug console - JS error is present
{code}
$(item).data("clientSelectItem") is undefined
http://localhost:8080/metamer/faces/javax.faces.resource/inplaceSelect.js?ln=org.richfaces
Line 124
{code}
was:
# deploy Metamer and open http://localhost:8080/metamer/faces/components/richInplaceSelect/simple.xhtml
# click on the input field (popup list is displayed)
# click just under the displayed popup list
# look at FireBug console - JS error is present
> [rich:inplaceSelect] js error if clicking beneath list where the list shadow is rendered
> ----------------------------------------------------------------------------------------
>
> Key: RF-12148
> URL: https://issues.jboss.org/browse/RF-12148
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 4.2.1.CR1
> Environment: JBoss AS 7.1.1, Firefox 11
> Reporter: Rene O
> Assignee: Jan Papousek
> Attachments: inplaceselect.png, metamer-inplaceSelect-callStack.png
>
>
> 1. click inplaceSelect
> 2. after list is shown, click beneath list where the list shadow is rendered( <span class="rf-is-shdw-l"></span> )
> 3. js error occurs
> {code:title=example.xhtml}
> <!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:h="http://java.sun.com/jsf/html"
> xmlns:f="http://java.sun.com/jsf/core"
> xmlns:ui="http://java.sun.com/jsf/facelets"
> xmlns:a4j="http://richfaces.org/a4j"
> xmlns:rich="http://richfaces.org/rich"
> >
> <h:head>
> <title>JSF Test</title>
> </h:head>
> <h:body>
> <h:form id="testForm">
> <rich:inplaceSelect id="testelect"
> openOnEdit="true" value="A"
> style="float:left;width:15px;border:1px dotted;background-color:#EEEEEE;cursor:pointer;"
> immediate="true"
> >
> <f:selectItem itemValue="A" itemLabel="A"/>
> <f:selectItem itemValue="B" itemLabel="B" />
> <f:selectItem itemValue="C" itemLabel="C" />
> </rich:inplaceSelect>
> </h:form>
> </h:body>
> </html>
> {code}
> {code:title=js-error}
> Zeitstempel: 05.04.2012 14:26:05
> Fehler: $(item).data("clientSelectItem") is undefined
> Quelldatei: http://localhost:8080/jsftest/javax.faces.resource/inplaceSelect.js.jsf?ln=org.richfaces
> Zeile: 124
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the richfaces-issues
mailing list