window.parent.xxxxxx (); // xxxxxx () representa el método de la página principal
Las columnas específicas son las siguientes, incluidos los eventos de clic derecho y clic de EasyUI
parent.jsp
Parte del código corporal
<Body> <!-Director de izquierda-> <div data-options = "región: 'oeste', dividir: true, title: 'theme', icOncls: 'icon-arrewin'"> <!-número de directorios-> <ul id = "árbol"> </ul> </div> <input type = "hidden" valor = "$ {param.type}" id = "themetype"/<!-<!-<!-<!-<hiShiShiS-<ShIns-<ShIns-<ShIns-<ShIns-<ShIns-<ShIns-<ShIns-<ShIns-<ShIns-<ShIns-<ShIns-<ShIns-<ShIns-<ShIns-<ShIns-<ShIn Form Form Form Form-<! data-options = "región: 'centro', título: 'display de contenido', icOncls: 'icon-corrowout'" style = "overflow: hidden"> <iframe name = "LeftiFrame" id = "LeftiFrame" src = "" FrameBorder = "0"> </iframe> </div> <! onClick = "updatetheme ();" data-options = "iconcls: 'icon-edit'"> modificar </div> <div onClick = "removeObjectNode ();" data-options = "iconcls: 'icon-tip'"> delete </div> </div> <script type = "text/javascript"> loadtree (); </script> </body>JS PARTE:
function loadtree () {$ (''#árbol '). Tree ({url:' xxxxx.action, animate: true, líneas: true, onContextMenu: function (e, node) {e.preventDefault (); $ (this) .tree ('select', node.target); / *** operación en la noda raíz (tema predeterminado) no se puede realizar el tema predeterminado). $ (this) .tree ('getParent', node.target); }, OnClick: Function (nodo) {// Evento independiente var type = node.attributes.type; } child.jsp/ *** Actualice el tema izquierdo*/ $ (function () {window.parent.loadtree ();})