[richfaces-issues] [JBoss JIRA] Updated: (RF-2516) Drag-n-Drop Tree with Context Menu
Nick Belaevski (JIRA)
jira-events at lists.jboss.org
Fri May 2 21:25:10 EDT 2008
[ http://jira.jboss.com/jira/browse/RF-2516?page=all ]
Nick Belaevski updated RF-2516:
-------------------------------
Fix Version/s: Future
(was: 3.2.2)
> Drag-n-Drop Tree with Context Menu
> ----------------------------------
>
> Key: RF-2516
> URL: http://jira.jboss.com/jira/browse/RF-2516
> Project: RichFaces
> Issue Type: Bug
> Affects Versions: 3.2.0, 3.1.4
> Reporter: Ralf Loechte
> Assigned To: Nick Belaevski
> Fix For: Future
>
>
> I have a rich:tree with drag-n-drop support and an attached rich:contextMenu to the nestet rich:treeNode. if you click right on a node, the contextMenu will open. After click on the menuItem the cursor changes to the dragIndicator Icon and you drag/drop the element.
> The correct behavior should be that nothing happens in terms of drag-n-drop after click on a contextMenu in a tree.
> <rich:tree
> switchType="client" value="#{hierarchyMainBean.data}" var="item"
> nodeFace="#{item.type}" binding="#{hierarchyMainBean.tree}"
> ajaxSubmitSelection="false" preserveModel="state" immediate="false"
> acceptedTypes="member" dragIndicator="treeIndicator"
> dragValue="#{item}"
> dropListener="#{hierarchyMainBean.processDropTree}">
> <rich:treeNode
> type="member"
> dragType="member"
> dragValue="#{item}"
> acceptedTypes="member">
> <h:outputText value="#{item.name}" />
> <rich:dndParam name="label" type="drag" value="#{item.name}" />
> <rich:contextMenu event="oncontextmenu" attached="true"
> submitMode="ajax">
> <rich:menuItem value="cut" limitToList="true"
> actionListener="#{hierarchyMainBean.processCutElement}">
> </rich:menuItem>
> </rich:contextMenu>
> </rich:treeNode>
> </rich:tree>
--
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