[richfaces-issues] [JBoss JIRA] (RF-12148) [rich:inplaceSelect] js error if clicking beneath list where the list shadow is rendered

Rene O (JIRA) jira-events at lists.jboss.org
Thu Apr 5 08:31:47 EDT 2012


Rene O created RF-12148:
---------------------------

             Summary: [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
            Reporter: Rene O
         Attachments: inplaceselect.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