[richfaces-issues] [JBoss JIRA] Updated: (RF-5499) drag'n'drop in tree: dropListener isn't called after tree node selection when ajaxSubmitSelection="true".

Nick Belaevski (JIRA) jira-events at lists.jboss.org
Fri Jan 2 08:31:54 EST 2009


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

Nick Belaevski updated RF-5499:
-------------------------------

    Fix Version/s: 3.3.0


> drag'n'drop in tree: dropListener isn't called after tree node selection when ajaxSubmitSelection="true".
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: RF-5499
>                 URL: https://jira.jboss.org/jira/browse/RF-5499
>             Project: RichFaces
>          Issue Type: Bug
>    Affects Versions: 3.3.0
>         Environment: IE6, IE7, FF 3.1.3, Safari 3.1, Opera 9.62(3.3.0.CR1)
>            Reporter: Mikhail Vitenkov
>            Assignee: Nick Belaevski
>             Fix For: 3.3.0
>
>
> Precondition - use following code:
> <t:div style="width: 200px; height: 500px; overflow: auto; border: 1px solid #0D2F6D;">
> 	<rich:dragIndicator id="indicator2" />
> 	<rich:tree var="item"
> 						 value="#{documentDirectoryTreeDAO.rootNode}"
> 						 id="tree"
> 						 treeNodeVar="treeNode"
> 						 reRender="documents"
> 						 switchType="client"
> 						 acceptedTypes="#{item.group.name}"
> 						 nodeSelectListener="#{documentDirectoryTreeDAO.listenerNodeSelected}"
> 						 ajaxSubmitSelection="true">
> 		<rich:treeNode acceptedTypes="#{item.group.name}"
> 									 dragType="#{item.group.name}"
> 									 dragIndicator="indicator2"
> 									 dropListener="#{documentDirectoryTreeDAO.listenerDropToTree}"
> 									 id="treeNode"
> 									 rendered="#{accountDAO.account.admin}"
> 									 reRender="documents, tree">
> 			<h:outputText value="#{item}" />
> 		</rich:treeNode>
> 		<a4j:support rendered="#{accountDAO.loggedIn}" event="onclick" reRender="addDocumentLink, editDirectoryLink, deleteDirectoryLink" immediate="true" />
> 		<f:facet name="icon">
> 			<h:graphicImage value="/img/iconFolder.gif" />
> 		</f:facet>
> 		<f:facet name="iconLeaf">
> 			<h:graphicImage value="/img/iconFolder.gif" />
> 		</f:facet>
> 	</rich:tree>
> </t:div>
> #1. Navigate to the page.
> #2. Expand a node.
> #3. Select sub node and drag it to parent node.
> #4. Verify dropListener call.

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