Author: sdzmitrovich
Date: 2008-09-26 06:51:30 -0400 (Fri, 26 Sep 2008)
New Revision: 10494
Modified:
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/VpeHtmlTemplate.java
Log:
// was commented to correct work of non-visual templates which have
// visual children
// (for example rich:graphValidator)
Modified:
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/VpeHtmlTemplate.java
===================================================================
---
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/VpeHtmlTemplate.java 2008-09-26
06:22:23 UTC (rev 10493)
+++
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/VpeHtmlTemplate.java 2008-09-26
10:51:30 UTC (rev 10494)
@@ -188,7 +188,10 @@
}
@Override
public boolean isChildren() {
- return creator == null ? false : children;
+ // was commented to correct work of non-visual templates which have
+ // visual children
+ // (for example rich:graphValidator)
+ return /* creator == null ? false : */children;
}
private VpeCreatorInfo createVisualElement(VpePageContext pageContext, Element
sourceElement, nsIDOMDocument visualDocument, nsIDOMElement visualParent,
Map<VpeTemplate,ModifyInfo> visualNodeMap) {
Show replies by date