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

Alexander Dubovsky updated RF-5605:
-----------------------------------

    Description: 
<rich:tree value="#{custom.data}" var="item">
                                <rich:treeNode reRender="label"
                                        dropListener="#{item.processDrop}"
                                        dragType="all" acceptedTypes="all">
                                        <h:outputText value="#{item}" />
                                </rich:treeNode>
                        </rich:tree>
                        <h:outputText id="label" value="#{custom.text}" />

public void processDrop(DropEvent e) {
                Custom c = (Custom) getManagedBeanFromSession("custom");
                if (c != null) {
                        c.setText("!!! item was dropped !!!");
                }
                System.out.println("!!! item was dropped !!!");
        }

# Open page
# Drag some node and drop it to another node
Result: dropListener was called, but text was not rerendered.

  was:
<rich:tree value="#{custom.data}" var="item">
                                <rich:treeNode reRender="label"
                                        dropListener="#{item.processDrop}"
                                        dragType="all" acceptedTypes="all">
                                        <h:outputText value="#{item}" />
                                </rich:treeNode>
                        </rich:tree>
                        <h:outputText id="label" value="#{custom.text}" />

public void processDrop(DropEvent e) {
                text = "!!! item was dropped !!!";
                System.out.println("!!! item was dropped !!!");
        }

# Open page
# Drag some node and drop it to another node
Result: dropListener was called, but text was not rerendered.



> Tree: reRender does not work after drag/Drop operation.
> -------------------------------------------------------
>
>                 Key: RF-5605
>                 URL: https://jira.jboss.org/jira/browse/RF-5605
>             Project: RichFaces
>          Issue Type: Bug
>    Affects Versions: 3.2.2, 3.3.0
>         Environment: 3.2.2.GA, 3.3.0.CR2
>            Reporter: Alexander Dubovsky
>            Assignee: Nick Belaevski
>             Fix For: Future
>
>
> <rich:tree value="#{custom.data}" var="item">
>                               <rich:treeNode reRender="label"
>                                       dropListener="#{item.processDrop}"
>                                       dragType="all" acceptedTypes="all">
>                                       <h:outputText value="#{item}" />
>                               </rich:treeNode>
>                       </rich:tree>
>                       <h:outputText id="label" value="#{custom.text}" />
> public void processDrop(DropEvent e) {
>               Custom c = (Custom) getManagedBeanFromSession("custom");
>               if (c != null) {
>                       c.setText("!!! item was dropped !!!");
>               }
>               System.out.println("!!! item was dropped !!!");
>       }
> # Open page
> # Drag some node and drop it to another node
> Result: dropListener was called, but text was not rerendered.

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