[richfaces-issues] [JBoss JIRA] Updated: (RF-8582) tree: dragSupport, dropSuppot inside placed for some treeNode containers not working(built-in dnd off)

Ilya Shaikovsky (JIRA) jira-events at lists.jboss.org
Fri Apr 9 06:48:46 EDT 2010


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

Ilya Shaikovsky updated RF-8582:
--------------------------------

    Workaround Description: Customer reported that usage of ondragenter=" this.stopPropagation(); " solves that problem.
                Workaround: [Workaround Exists]


> tree: dragSupport, dropSuppot inside placed for some treeNode containers not working(built-in dnd off)
> ------------------------------------------------------------------------------------------------------
>
>                 Key: RF-8582
>                 URL: https://jira.jboss.org/jira/browse/RF-8582
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: component-tree
>    Affects Versions: 3.3.3.CR1
>            Reporter: Ilya Shaikovsky
>            Assignee: Nick Belaevski
>             Fix For: Future
>
>
> <rich:panel>
> 		a
> 		<rich:dragSupport dragType="aaa" dragIndicator="ind1" />
> 		<rich:panel>
> 			b
> 			<rich:dropSupport acceptedTypes="aaa" />
> 		</rich:panel>
> </rich:panel>
> works fine.
> 				<rich:treeNode reRender="cm" type="node" icon="#{treeNode.icon}"
> 					iconLeaf="#{treeNode.leafIcon}">
> 					<h:outputText value="#{item}" />
> 					<a4j:outputPanel id="cm">
> 						<rich:contextMenu event="oncontextmenu"
> 							rendered="#{treeNode.selected}">
> 							<rich:menuItem value="123" />
> 						</rich:contextMenu>
> 					</a4j:outputPanel>
> 					<rich:panel id="pnl1">
> 						<rich:dropSupport acceptedTypes="pic" id="pnldnd2" />
> 						a
> 					</rich:panel>
> 				</rich:treeNode>
> 				<rich:treeNode type="leaf" >
> 					<rich:dndParam name="label" type="drag">#{item}</rich:dndParam>
> 					<h:outputText value="#{item}" />
> 					<rich:panel id="pnl">
> 						<rich:dragSupport dragType="pic" id="pnldnd" />
> 						a
> 					</rich:panel>
> 				</rich:treeNode>
> not works. after you dragging pnl1 and trying to drop to pnl - rejected indicator shown.
> The same if define drag not with dragsupport but with tree attribute but remain external drop declaration. 
> In the same time  - d'n'd from tree to page and from page to tree - works ok and you could check it at livedemo.

-- 
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