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


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

        
_______________________________________________
richfaces-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/richfaces-issues

Reply via email to