[richfaces-issues] [JBoss JIRA] Commented: (RF-4096) 3.2.2.BETA3: Javascript error for <a4j:support event="onRowDblClick">

Alexandr Levkovsky (JIRA) jira-events at lists.jboss.org
Thu Aug 7 10:36:52 EDT 2008


    [ https://jira.jboss.org/jira/browse/RF-4096?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12424077#action_12424077 ] 

Alexandr Levkovsky commented on RF-4096:
----------------------------------------

Hello, Juergen.

I can't reproduce described Javascript error. <a4j:support event="onRowDblClick"> works fine in <rich:dataTable> in all browsers.

I see other richfaces components in generated HTML which may affect on the situation with error. So could you attach full JSF code of your page to help me to reproduce this situation?

Thank you.


> 3.2.2.BETA3: Javascript error for <a4j:support event="onRowDblClick">
> ---------------------------------------------------------------------
>
>                 Key: RF-4096
>                 URL: https://jira.jboss.org/jira/browse/RF-4096
>             Project: RichFaces
>          Issue Type: Bug
>    Affects Versions: 3.2.2
>         Environment: JBoss 4.2.3, JSF 1.2_09, Facelets 1.1.15B1, JBossTools 3.0alpha
>            Reporter: Juergen Zimmermann
>            Assignee: Alexandr Levkovsky
>             Fix For: 3.2.2
>
>         Attachments: generated-html.txt, javascript-error-window.jpg, microsoft-script-editor.jpg, microsoft-script-editor.txt
>
>
> When double-clicking on a row produced by <rich:dataTable> I get a Javascript error. Screenshots and generated source will be provided.
> This is the JSF code:
> ...
> <h:form rendered="#{not empty kv.gefundeneKunden}">
> 	<h2><h:outputText value="#{i18n['doubleclick.hinweis']}"/></h2>
> 	
> 	<rich:dataTable id="kundenTabelle" value="#{kv.gefundeneKunden}"
> 	                var="kunde" binding="#{kv.tabelleDoubleclick}"
> 	                rows="5"
> 	                cellspacing="10">
> 		<a4j:support event="onRowDblClick" action="#{kv.detailsTabPanel}"/>
> 		
> 		<rich:column>
> 			<f:facet name="header">
> 				<h:outputText value="#{i18n['tabelle.nr']}"/>
> 			</f:facet>
> 			<h:outputText value="#{kv.tabelleDoubleclick.rowIndex+1}"/>
> 		</rich:column>
> 		<rich:column sortBy="#{kunde.id}">
> 			<f:facet name="header">
> 				<h:outputText value="#{i18n['tabelle.kunde.id']}"/>
> 			</f:facet>
> 			<h:outputText value="#{kunde.id}"/>
> 		</rich:column>
> 		,,,

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the richfaces-issues mailing list