Examples of addRequestKey()


Examples of org.richfaces.component.UITree.addRequestKey()

    TreeNode parentNode = draggedNode.getParent();
    // 1. remove node from tree
    state = srcTree.removeNode(dragNodeKey);
    // 2. add parent for rerender
    Object rowKey = srcTree.getTreeNodeRowKey(parentNode);
    srcTree.addRequestKey(rowKey);
    if (dropEvent.getDraggableSource() instanceof UIDragSupport) {
        selectedNodeChildren.remove(draggedNode);
        // if node was gragged in it's parent place dragged node to
        // the end of selected nodes in grid
        if (droppedInNode.equals(parentNode)) {
View Full Code Here

Examples of org.richfaces.component.UITree.addRequestKey()

    FacesContext context = FacesContext.getCurrentInstance();
   
    if (dropNodeKey != null) {
        // add destination node for rerender
        destTree.addRequestKey(dropNodeKey);
       
      Object state = null;
      if (dragNodeKey != null) { // Drag from this or other tree
          TreeNode parentNode = draggedNode.getParent();
          // 1. remove node from tree
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.