Author: yradtsevich
Date: 2009-01-28 13:32:50 -0500 (Wed, 28 Jan 2009)
New Revision: 13310
Modified:
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesEditorTemplate.java
Log:
RESOLVED - issue JBIDE-3653: inFlasher doesn't shows for rich:editor component
https://jira.jboss.org/jira/browse/JBIDE-3653
- style attribute 'display:table;' has been set to the main (container) tag
Modified:
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesEditorTemplate.java
===================================================================
---
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesEditorTemplate.java 2009-01-28
18:12:33 UTC (rev 13309)
+++
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesEditorTemplate.java 2009-01-28
18:32:50 UTC (rev 13310)
@@ -72,7 +72,10 @@
ComponentUtil.setCSSLink(pageContext, STYLE_PATH, "editor"); //$NON-NLS-1$
// create nodes
nsIDOMElement mainSpan = visualDocument.createElement(HTML.TAG_SPAN); {
- mainSpan.setAttribute(HTML.ATTR_CLASS, "richfacesSimpleSkin");
+ mainSpan.setAttribute(HTML.ATTR_CLASS, "richfacesSimpleSkin");
//$NON-NLS-1$
+
+ // Yahor Radtsevich: Fix of JBIDE-3653: inFlasher doesn't shows for rich:editor
component
+ mainSpan.setAttribute(HTML.ATTR_STYLE, "display: table;"); //$NON-NLS-1$
}
nsIDOMElement mainTable = createMainTable();
nsIDOMElement textContainer = createTextContainer();