Author: yradtsevich
Date: 2008-12-05 06:59:04 -0500 (Fri, 05 Dec 2008)
New Revision: 12299
Modified:
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesPanelMenuTemplate.java
Log:
RESOLVED - issue JBIDE-3348: <rich:panelMenu style="width:YYY;"> does not
work in VPE.
https://jira.jboss.org/jira/browse/JBIDE-3348
Modified:
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesPanelMenuTemplate.java
===================================================================
---
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesPanelMenuTemplate.java 2008-12-05
11:56:08 UTC (rev 12298)
+++
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesPanelMenuTemplate.java 2008-12-05
11:59:04 UTC (rev 12299)
@@ -108,7 +108,7 @@
String styleClass = sourceElement.getAttribute(STYLE_CLASS);
if (width != null) {
- style += "" + "; width:" + width; //$NON-NLS-1$ //$NON-NLS-2$
+ style = "width:" + width + ";" + style; //$NON-NLS-1$
//$NON-NLS-2$
}
nsIDOMElement div = visualDocument.createElement(HTML.TAG_DIV);