Author: dsakovich
Date: 2007-12-14 08:56:25 -0500 (Fri, 14 Dec 2007)
New Revision: 5315
Modified:
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesTreeTemplate.java
Log:
http://jira.jboss.org/jira/browse/JBIDE-1463
Modified:
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesTreeTemplate.java
===================================================================
---
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesTreeTemplate.java 2007-12-14
13:45:30 UTC (rev 5314)
+++
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesTreeTemplate.java 2007-12-14
13:56:25 UTC (rev 5315)
@@ -298,7 +298,8 @@
} else if (HtmlComponentUtil.HTML_STYLE_ATTR.equalsIgnoreCase(name)) {
setAttributeToTree(visualNode, HtmlComponentUtil.HTML_STYLE_ATTR,
removeFromStyleWithAndHeight(value));
- ((Element) visualNode).setAttribute(
+ nsIDOMElement visualElement = (nsIDOMElement)
visualNode.queryInterface(nsIDOMElement.NS_IDOMELEMENT_IID);
+ visualElement.setAttribute(
HtmlComponentUtil.HTML_STYLE_ATTR, value);
}
}