[richfaces-issues] [JBoss JIRA] Closed: (RF-2516) Drag-n-Drop Tree with Context Menu

Alexander Dubovsky (JIRA) jira-events at lists.jboss.org
Tue Dec 30 08:49:55 EST 2008


     [ https://jira.jboss.org/jira/browse/RF-2516?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexander Dubovsky closed RF-2516.
----------------------------------



> Drag-n-Drop Tree with Context Menu
> ----------------------------------
>
>                 Key: RF-2516
>                 URL: https://jira.jboss.org/jira/browse/RF-2516
>             Project: RichFaces
>          Issue Type: Bug
>          Components: planning_all
>    Affects Versions: 3.1.4, 3.2.0
>            Reporter: Ralf Loechte
>            Assignee: Alexander Dubovsky
>             Fix For: 3.3.0
>
>   Original Estimate: 6 hours
>  Remaining Estimate: 6 hours
>
> 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: 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