Author: sdzmitrovich
Date: 2009-02-17 11:03:52 -0500 (Tue, 17 Feb 2009)
New Revision: 13640
Modified:
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/VpeVisualDomBuilder.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-3799
Modified:
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/VpeVisualDomBuilder.java
===================================================================
---
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/VpeVisualDomBuilder.java 2009-02-17
14:51:12 UTC (rev 13639)
+++
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/VpeVisualDomBuilder.java 2009-02-17
16:03:52 UTC (rev 13640)
@@ -210,6 +210,8 @@
// better
// pageContext.installIncludeElements();
+ refreshExternalLinks();
+
// if (isFacelet()) {
Element root = FaceletUtil.findComponentElement(sourceDocument.getDocumentElement());
if (root != null) {
@@ -232,7 +234,8 @@
super.dispose();
pageContext.clearAll();
- refreshExternalLinks();
+ // FIXED FOR JBIDE-3799 by sdzmitrovich, moved calling of this method to buid dom
+ // refreshExternalLinks();
pageContext.getBundle().refreshRegisteredBundles();
nsIDOMNodeList children = getContentArea().getChildNodes();