Author: vyemialyanchyk
Date: 2007-12-20 12:41:19 -0500 (Thu, 20 Dec 2007)
New Revision: 5407
Modified:
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.facelets/src/org/jboss/tools/jsf/vpe/facelets/template/VpeDefineContainerTemplate.java
Log:
code revert for
http://jira.jboss.com/jira/browse/JBIDE-1457 &
http://jira.jboss.com/jira/browse/JBIDE-788
Modified:
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.facelets/src/org/jboss/tools/jsf/vpe/facelets/template/VpeDefineContainerTemplate.java
===================================================================
---
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.facelets/src/org/jboss/tools/jsf/vpe/facelets/template/VpeDefineContainerTemplate.java 2007-12-20
17:36:47 UTC (rev 5406)
+++
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.facelets/src/org/jboss/tools/jsf/vpe/facelets/template/VpeDefineContainerTemplate.java 2007-12-20
17:41:19 UTC (rev 5407)
@@ -99,7 +99,7 @@
Node sourceChild = sourceChildren.item(i);
if (sourceChild.getNodeType() == Node.ELEMENT_NODE &&
"define".equals(sourceChild.getLocalName())) {
if (template == null) {
- VpeTemplateManager templateManager = VpeTemplateManager.getInstance();
+ VpeTemplateManager templateManager =
pageContext.getVisualBuilder().getTemplateManager();
template = templateManager.getTemplate(pageContext, (Element)sourceChild, null);
if (template == null) {
break;