Author: vyemialyanchyk
Date: 2007-12-17 15:36:15 -0500 (Mon, 17 Dec 2007)
New Revision: 5356
Modified:
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.facelets/src/org/jboss/tools/jsf/vpe/facelets/template/VpeDefineContainerTemplate.java
Log:
http://jira.jboss.com/jira/browse/JBIDE-788
http://jira.jboss.com/jira/browse/JBIDE-1457
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-17
20:34:56 UTC (rev 5355)
+++
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.facelets/src/org/jboss/tools/jsf/vpe/facelets/template/VpeDefineContainerTemplate.java 2007-12-17
20:36:15 UTC (rev 5356)
@@ -99,7 +99,7 @@
Node sourceChild = sourceChildren.item(i);
if (sourceChild.getNodeType() == Node.ELEMENT_NODE &&
"define".equals(sourceChild.getLocalName())) {
if (template == null) {
- VpeTemplateManager templateManager =
pageContext.getVisualBuilder().getTemplateManager();
+ VpeTemplateManager templateManager = VpeTemplateManager.getInstance();
template = templateManager.getTemplate(pageContext, (Element)sourceChild, null);
if (template == null) {
break;