Author: sdzmitrovich
Date: 2008-03-19 10:33:38 -0400 (Wed, 19 Mar 2008)
New Revision: 7007
Modified:
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/AbstractOutputJsfTemplate.java
Log:
http://jira.jboss.com/jira/browse/JBIDE-1718
Modified:
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/AbstractOutputJsfTemplate.java
===================================================================
---
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/AbstractOutputJsfTemplate.java 2008-03-19
14:04:51 UTC (rev 7006)
+++
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/AbstractOutputJsfTemplate.java 2008-03-19
14:33:38 UTC (rev 7007)
@@ -66,11 +66,12 @@
Attr outputAttr = getOutputAttributeNode(sourceElement);
- // prepare value
- String newValue = prepareAttrValue(pageContext, sourceElement,
- outputAttr);
-
if (outputAttr != null) {
+
+ // prepare value
+ String newValue = prepareAttrValue(pageContext, sourceElement,
+ outputAttr);
+
// if escape then contents of value (or other attribute) is only
// text
if (!sourceElement.hasAttribute(JSF.ATTR_ESCAPE)
@@ -124,10 +125,9 @@
}
- creationData.setElementData(elementData);
-
}
-
+
+ creationData.setElementData(elementData);
}
protected String prepareAttrValue(VpePageContext pageContext,