User development, The document "VPE message attributes processing process", was updated Jan 20, 2010 by Max Andersen.
To view the document, visit: http://community.jboss.org/docs/DOC-13828#cf Document: -------------------------------------------------------------- 1) This diagram shows how message resources registred in VPE http://community.jboss.org/servlet/JiveServlet/showImage/102-13828-2-1469/message_props.png Some class names which can be usefull: * VpeController - visual page editor controler, see method init() for followinf lines bundle = new BundleMap(); bundle.init(sourceEditor); * org.jboss.tools.vpe.editor.bundle.BundleMap class where stores message resources properties. 2) Diagram #2 how this bundles used when generates a visual nodes http://community.jboss.org/servlet/JiveServlet/showImage/102-13828-2-1471/message_processing.png Usefull classes and method * org.jboss.tools.vpe.editor.VpeVisualDomBuilder method createNode(Node sourceNode,nsIDOMNode visualOldContainer) following code if (ElService.getInstance().isELNode(getPageContext(), sourceNode)) { sourceNodeProxy = VpeProxyUtil.createProxyForELExpressionNode(getPageContext(), sourceNode); * org.jboss.tools.vpe.editor.util.ELService check is node have EL attributes and replce in proxy node calls neccery attributes and values * package org.jboss.tools.vpe.editor.proxy here contained vpe proxys for source nodes --------------------------------------------------------------
_______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
