Author: asakharov
Date: 2007-10-11 07:38:36 -0400 (Thu, 11 Oct 2007)
New Revision: 4110
Modified:
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesPanelMenuItemTemplate.java
Log:
vpe richFaces panelMenuItem
Modified:
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesPanelMenuItemTemplate.java
===================================================================
---
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesPanelMenuItemTemplate.java 2007-10-11
11:35:01 UTC (rev 4109)
+++
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesPanelMenuItemTemplate.java 2007-10-11
11:38:36 UTC (rev 4110)
@@ -26,7 +26,7 @@
public class RichFacesPanelMenuItemTemplate extends VpeAbstractTemplate {
- //private static final String STYLE_PATH = "/panelMenuItem/style.css";
+ private static final String STYLE_PATH = "/panelMenuItem/style.css";
private static final String PANEL_MENU_ITEM_CLASS = "dr-pmenu-item";
@@ -48,12 +48,12 @@
public VpeCreationData create(VpePageContext pageContext, Node sourceNode,
Document visualDocument) {
- return encode(null,(Element)sourceNode, visualDocument, null, false);
+ return encode(pageContext, null,(Element)sourceNode, visualDocument, null, false);
}
- public static VpeCreationData encode(VpeCreationData creationData, Element
sourceElement, Document visualDocument, Element parentVisualElement, boolean active){
+ public static VpeCreationData encode(VpePageContext pageContext,VpeCreationData
creationData, Element sourceElement, Document visualDocument, Element parentVisualElement,
boolean active){
- //ComponentUtil.setCSSLink(pageContext, STYLE_PATH, PANEL_MENU_ITEM);
+ ComponentUtil.setCSSLink(pageContext, STYLE_PATH, PANEL_MENU_ITEM);
Element div = visualDocument
.createElement(HtmlComponentUtil.HTML_TAG_DIV);
Show replies by date