Author: amakhtadui
Date: 2007-10-15 12:08:43 -0400 (Mon, 15 Oct 2007)
New Revision: 4201
Modified:
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesPanelMenuGroupTemplate.java
Log:
http://jira.jboss.com/jira/browse/JBIDE-847
Fix font, from label name group.
Modified:
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesPanelMenuGroupTemplate.java
===================================================================
---
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesPanelMenuGroupTemplate.java 2007-10-15
15:54:33 UTC (rev 4200)
+++
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesPanelMenuGroupTemplate.java 2007-10-15
16:08:43 UTC (rev 4201)
@@ -225,9 +225,9 @@
if (parent.getNodeName().endsWith(PANEL_MENU_END_TAG)) {
if(styleClass != null &&
sourceParentElement.getAttribute(PANEL_MENU_ATTR_TOP_GROUP_CLASS) != null) {
- styleClass = "dr-pmenu-group-self-label dr-pmenu-selected-item
dr-pmenu-top-group" + " " +
sourceParentElement.getAttribute(PANEL_MENU_ATTR_TOP_GROUP_CLASS);
+ styleClass = "dr-pmenu-group-self-label dr-pmenu-top-group" + " " +
sourceParentElement.getAttribute(PANEL_MENU_ATTR_TOP_GROUP_CLASS);
}else {
- styleClass = "dr-pmenu-group-self-label dr-pmenu-selected-item
dr-pmenu-top-group";
+ styleClass = "dr-pmenu-group-self-label dr-pmenu-top-group";
}
if(style != null &&
sourceParentElement.getAttribute(PANEL_MENU_ATTR_TOP_GROUP_STYLE) != null) {
style = sourceParentElement.getAttribute(PANEL_MENU_ATTR_TOP_GROUP_STYLE);
@@ -325,7 +325,7 @@
if (expanded) {
ComponentUtil.setImgFromResources(pageContext, img1, pathIconExpanded,
DEFAULT_PANEL_MENU_GROUP_SPACER);
} else {
- ComponentUtil.setImgFromResources(pageContext, img2, pathIconCollapsed,
DEFAULT_PANEL_MENU_GROUP_SPACER);
+ ComponentUtil.setImgFromResources(pageContext, img1, pathIconCollapsed,
DEFAULT_PANEL_MENU_GROUP_SPACER);
}
}
}