[richfaces-issues] [JBoss JIRA] Updated: (RF-1160) oncontextmenu treeNode attribute wont work
Deniss Parhomenko (JIRA)
jira-events at lists.jboss.org
Tue Oct 23 09:23:01 EDT 2007
[ http://jira.jboss.com/jira/browse/RF-1160?page=all ]
Deniss Parhomenko updated RF-1160:
----------------------------------
Workaround Description:
Well currently I've managed to get this working by putting a 'div' inside of treeNode and using oncontextmenu of that div element.
JBoss Forum Reference: http://jboss.com/index.html?module=bb&op=viewtopic&t=121164
Workaround: [Workaround Exists]
> oncontextmenu treeNode attribute wont work
> ------------------------------------------
>
> Key: RF-1160
> URL: http://jira.jboss.com/jira/browse/RF-1160
> Project: RichFaces
> Issue Type: Bug
> Affects Versions: 3.1.1, 3.1.2
> Environment: firefox and IE
> Reporter: Deniss Parhomenko
>
> in this sample code oncontextmenu wotn work
> <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
> xmlns="http://www.w3.org/1999/xhtml"
> xmlns:ui="http://java.sun.com/jsf/facelets"
> xmlns:h="http://java.sun.com/jsf/html"
> xmlns:f="http://java.sun.com/jsf/core"
> xmlns:rich="http://richfaces.ajax4jsf.org/rich"
> xmlns:a4j="https://ajax4jsf.dev.java.net/ajax"
> xmlns:comp="http://www.exigen.com/test/jsf"
> xmlns:t="http://myfaces.apache.org/tomahawk">
> <ui:composition>
> <h:form id="testForm">
> <rich:tree value="#{dsProvider.data}" var="item"
> nodeFace="#{item.type}" switchType="ajax" id="Tree">
> <rich:treeNode type="folder"
> oncontextmenu="alert('test');return false;" id="table1">
> <h:outputText value="#{item.name}" id="table1FolderName"
> styleClass="text8pt" />
> </rich:treeNode>
> </rich:tree>
> </h:form>
> </ui:composition>
> </jsp:root>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the richfaces-issues
mailing list