Author: sergeyhalipov
Date: 2007-05-15 04:21:18 -0400 (Tue, 15 May 2007)
New Revision: 761
Added:
trunk/richfaces/panelmenu/src/main/config/component/panelMenu.xml
trunk/richfaces/panelmenu/src/main/java/org/richfaces/renderkit/
trunk/richfaces/panelmenu/src/main/java/org/richfaces/renderkit/PanelMenuGroupRenderer.java
trunk/richfaces/panelmenu/src/main/java/org/richfaces/renderkit/PanelMenuItemRenderer.java
trunk/richfaces/panelmenu/src/main/java/org/richfaces/renderkit/PanelMenuRenderer.java
trunk/richfaces/panelmenu/src/main/java/org/richfaces/renderkit/PanelMenuRendererBase.java
trunk/richfaces/panelmenu/src/main/templates/org/
trunk/richfaces/panelmenu/src/main/templates/org/richfaces/
trunk/richfaces/panelmenu/src/main/templates/org/richfaces/htmlPanelMenu.jspx
trunk/richfaces/panelmenu/src/main/templates/org/richfaces/htmlPanelMenuGroup.jspx
trunk/richfaces/panelmenu/src/main/templates/org/richfaces/htmlPanelMenuItem.jspx
Log:
Initial commit for panel menu component.
Added: trunk/richfaces/panelmenu/src/main/config/component/panelMenu.xml
===================================================================
--- trunk/richfaces/panelmenu/src/main/config/component/panelMenu.xml
(rev 0)
+++ trunk/richfaces/panelmenu/src/main/config/component/panelMenu.xml 2007-05-15 08:21:18
UTC (rev 761)
@@ -0,0 +1,489 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE components PUBLIC "-//AJAX4JSF//CDK Generator config/EN"
"https://ajax4jsf.dev.java.net/nonav/dtds/component-config.dtd" >
+<components>
+ <component>
+ <name>org.richfaces.PanelMenu</name>
+ <family>org.richfaces.PanelMenu</family>
+ <description>Defines the menu on the page and the set of the child elements
properties in layout.</description>
+ <superclass>org.richfaces.component.panelmenu.UIPanelMenu</superclass>
+ <classname>org.richfaces.component.html.HtmlPanelMenu</classname>
+ <renderer generate="true" override="true">
+ <name>org.richfaces.PanelMenuRenderer</name>
+ <template>org/richfaces/htmlPanelMenu.jspx</template>
+ </renderer>
+ <tag>
+ <name>panelMenu</name>
+ <classname>org.richfaces.taglib.PanelMenuTag</classname>
+ <superclass>org.ajax4jsf.framework.taglib.HtmlComponentTagBase</superclass>
+ </tag>
+ <property>
+ <name>event</name>
+ <classname>java.lang.String</classname>
+ <description>
+ Defines the event on the representation element that
+ triggers the submenu's expand/collapse. (default=onclick)
+ </description>
+ <defaultvalue><![CDATA["onclick"]]></defaultvalue>
+ </property>
+ <property>
+ <name>mode</name>
+ <classname>java.lang.String</classname>
+ <description>
+ Set the submission mode for all panel menu items on the panel
+ menu except ones where this attribute redefined. (ajax, server,(Default), none)
+ </description>
+ <defaultvalue><![CDATA["server"]]></defaultvalue>
+ </property>
+ <property>
+ <name>width</name>
+ <classname>java.lang.String</classname>
+ <description>Set minimal width for the menu.</description>
+ <defaultvalue><![CDATA["100%"]]></defaultvalue>
+ </property>
+ <property>
+ <name>expandMode</name>
+ <classname>java.lang.String</classname>
+ <description>
+ Set the submission mode for all panel menu groups after
+ expand/collapse except ones where this attribute redefined. (ajax, server,
none(Default))
+ </description>
+ <defaultvalue><![CDATA["none"]]></defaultvalue>
+ </property>
+ <property>
+ <name>expandSingle</name>
+ <classname>boolean</classname>
+ <description>
+ Whether only one panel menu node on top level can be opened at a time.
+ If the value of this attribute is true, the previously opened
+ node on the top level is closed. If the value is false, the node is left opened. The
default value is false.
+ </description>
+ <defaultvalue>false</defaultvalue>
+ </property>
+ <property>
+ <name>iconItem</name>
+ <classname>java.lang.String</classname>
+ <description>Path to the icon to be displayed for the enabled item
state</description>
+ </property>
+ <property>
+ <name>iconDisabledItem</name>
+ <classname>java.lang.String</classname>
+ <description>Path to the icon to be displayed for the disabled item
state</description>
+ </property>
+ <property>
+ <name>iconTopItem</name>
+ <classname>java.lang.String</classname>
+ <description>Path to the icon to be displayed for the enabled top item
state</description>
+ </property>
+ <property>
+ <name>iconTopDisabledItem</name>
+ <classname>java.lang.String</classname>
+ <description>Path to the icon to be displayed for the disabled top item
state</description>
+ </property>
+ <property>
+ <name>iconExpandedGroup</name>
+ <classname>java.lang.String</classname>
+ <description>Path to the icon to be displayed for the expanded Group
state</description>
+ </property>
+ <property>
+ <name>iconCollapsedGroup</name>
+ <classname>java.lang.String</classname>
+ <description>Path to the icon to be displayed for the collapsed Group
state</description>
+ </property>
+ <property>
+ <name>iconDisabledGroup</name>
+ <classname>java.lang.String</classname>
+ <description>Path to the icon to be displayed for the disabled group
state</description>
+ </property>
+ <property>
+ <name>iconExpandedTopGroup</name>
+ <classname>java.lang.String</classname>
+ <description>Path to the icon to be displayed for the expanded top group
state</description>
+ </property>
+ <property>
+ <name>iconCollapsedTopGroup</name>
+ <classname>java.lang.String</classname>
+ <description>Path to the icon to be displayed for the collapsed top group
state</description>
+ </property>
+ <property>
+ <name>iconTopDisableGroup</name>
+ <classname>java.lang.String</classname>
+ <description>Path to the icon to be displayed for the disabled top Group
state</description>
+ </property>
+ <property>
+ <name>iconItemPosition</name>
+ <classname>java.lang.String</classname>
+ <description>Position of the icon (left, right none (default) ) for the item
icon</description>
+ <defaultvalue><![CDATA["none"]]></defaultvalue>
+ </property>
+ <property>
+ <name>iconItemTopPosition</name>
+ <classname>java.lang.String</classname>
+ <description>Position of the icon (left, right none (default) ) for the top
item icon</description>
+ <defaultvalue><![CDATA["none"]]></defaultvalue>
+ </property>
+ <property>
+ <name>iconGroupPosition</name>
+ <classname>java.lang.String</classname>
+ <description>Position of the icon (left, right none (default) ) for the group
icon</description>
+ <defaultvalue><![CDATA["none"]]></defaultvalue>
+ </property>
+ <property>
+ <name>iconGroupTopPosition</name>
+ <classname>java.lang.String</classname>
+ <description>Position of the icon (left, right none (default) ) for the top
group icon</description>
+ <defaultvalue><![CDATA["none"]]></defaultvalue>
+ </property>
+ <property>
+ <name>style</name>
+ <classname>java.lang.String</classname>
+ <description>The CSS style for the panel menu.</description>
+ <defaultvalue><![CDATA[""]]></defaultvalue>
+ </property>
+ <property>
+ <name>styleClass</name>
+ <classname>java.lang.String</classname>
+ <description>The CSS class for the panel menu.</description>
+ <defaultvalue><![CDATA[""]]></defaultvalue>
+ </property>
+ <property>
+ <name>groupStyle</name>
+ <classname>java.lang.String</classname>
+ <description></description>
+ <defaultvalue><![CDATA[""]]></defaultvalue>
+ </property>
+ <property>
+ <name>groupClass</name>
+ <classname>java.lang.String</classname>
+ <description></description>
+ <defaultvalue><![CDATA[""]]></defaultvalue>
+ </property>
+ <property>
+ <name>topGroupStyle</name>
+ <classname>java.lang.String</classname>
+ <description></description>
+ <defaultvalue><![CDATA[""]]></defaultvalue>
+ </property>
+ <property>
+ <name>topGroupClass</name>
+ <classname>java.lang.String</classname>
+ <description></description>
+ <defaultvalue><![CDATA[""]]></defaultvalue>
+ </property>
+ <property>
+ <name>itemStyle</name>
+ <classname>java.lang.String</classname>
+ <description></description>
+ <defaultvalue><![CDATA[""]]></defaultvalue>
+ </property>
+ <property>
+ <name>itemClass</name>
+ <classname>java.lang.String</classname>
+ <description></description>
+ <defaultvalue><![CDATA[""]]></defaultvalue>
+ </property>
+ <property>
+ <name>topItemStyle</name>
+ <classname>java.lang.String</classname>
+ <description></description>
+ <defaultvalue><![CDATA[""]]></defaultvalue>
+ </property>
+ <property>
+ <name>topItemClass</name>
+ <classname>java.lang.String</classname>
+ <description></description>
+ <defaultvalue><![CDATA[""]]></defaultvalue>
+ </property>
+ <property>
+ <name>disabledItemClass</name>
+ <classname>java.lang.String</classname>
+ <description></description>
+ <defaultvalue><![CDATA[""]]></defaultvalue>
+ </property>
+ <property>
+ <name>disabledItemStyle</name>
+ <classname>java.lang.String</classname>
+ <description></description>
+ <defaultvalue><![CDATA[""]]></defaultvalue>
+ </property>
+ <property>
+ <name>disabledGroupClass</name>
+ <classname>java.lang.String</classname>
+ <description></description>
+ <defaultvalue><![CDATA[""]]></defaultvalue>
+ </property>
+ <property>
+ <name>disabledGroupStyle</name>
+ <classname>java.lang.String</classname>
+ <description></description>
+ <defaultvalue><![CDATA[""]]></defaultvalue>
+ </property>
+ <property>
+ <name>hoveredItemClass</name>
+ <classname>java.lang.String</classname>
+ <description></description>
+ <defaultvalue><![CDATA[""]]></defaultvalue>
+ </property>
+ <property>
+ <name>hoveredItemStyle</name>
+ <classname>java.lang.String</classname>
+ <description></description>
+ <defaultvalue><![CDATA[""]]></defaultvalue>
+ </property>
+ <property>
+ <name>hoveredGroupClass</name>
+ <classname>java.lang.String</classname>
+ <description></description>
+ <defaultvalue><![CDATA[""]]></defaultvalue>
+ </property>
+ <property>
+ <name>hoveredGroupClass</name>
+ <classname>java.lang.String</classname>
+ <description></description>
+ <defaultvalue><![CDATA[""]]></defaultvalue>
+ </property>
+ &ui_component_attributes;
+ &html_events;
+ <property>
+ <name>onitemhover</name>
+ <classname>java.lang.String</classname>
+ <description></description>
+ <defaultvalue><![CDATA[""]]></defaultvalue>
+ </property>
+ <property>
+ <name>ongroupcollapse</name>
+ <classname>java.lang.String</classname>
+ <description></description>
+ <defaultvalue><![CDATA[""]]></defaultvalue>
+ </property>
+ <property>
+ <name>ongroupexpand</name>
+ <classname>java.lang.String</classname>
+ <description></description>
+ <defaultvalue><![CDATA[""]]></defaultvalue>
+ </property>
+ </component>
+
+ <component>
+ <name>org.richfaces.PanelMenuGroup</name>
+ <family>org.richfaces.PanelMenuGroup</family>
+ <description>Defines expandable group of items inside the panel menu or other
group.</description>
+ <superclass>org.richfaces.component.panelmenu.UIPanelMenuGroup</superclass>
+ <classname>org.richfaces.component.html.HtmlPanelMenuGroup</classname>
+ <renderer generate="true" override="true">
+ <name>org.richfaces.PanelMenuGroupRenderer</name>
+ <template>org/richfaces/htmlPanelMenuGroup.jspx</template>
+ </renderer>
+ <tag>
+ <name>panelMenuGroup</name>
+ <classname>org.richfaces.taglib.PanelMenuGroupTag</classname>
+ <superclass>org.ajax4jsf.framework.taglib.HtmlComponentTagBase</superclass>
+ </tag>
+ <property>
+ <name>mode</name>
+ <classname>java.lang.String</classname>
+ <description>
+ Set the submission mode for all panel menu groups after expand/collapse
+ except ones where this attribute redefined. (ajax, server, none(Default))
+ </description>
+ <defaultvalue><![CDATA["none"]]></defaultvalue>
+ </property>
+ <property>
+ <name>iconExpanded</name>
+ <classname>java.lang.String</classname>
+ <description>Path to the icon to be displayed for the expanded item
state</description>
+ </property>
+ <property>
+ <name>iconCollapsed</name>
+ <classname>java.lang.String</classname>
+ <description>Path to the icon to be displayed for the collapsed item
state</description>
+ </property>
+ <property>
+ <name>iconDisabled</name>
+ <classname>java.lang.String</classname>
+ <description>Path to the icon to be displayed for the disabled item
state</description>
+ </property>
+ <property>
+ <name>disabled</name>
+ <classname>boolean</classname>
+ <description>
+ If “true” sets state of the item to disabled state. “false” is default.
+ </description>
+ <defaultvalue>false</defaultvalue>
+ </property>
+ <property>
+ <name>value</name>
+ <classname>java.lang.Object</classname>
+ <description>Defines representation text for menuItem.</description>
+ </property>
+ &listeners;
+ <property>
+ <name>action</name>
+ <classname>java.lang.String</classname>
+ <description>The action method binding expression.</description>
+ </property>
+ <property>
+ <name>target</name>
+ <classname>java.lang.String</classname>
+ <description>Target frame for action to execute.</description>
+ </property>
+ <property>
+ <name>immediate</name>
+ <classname>boolean</classname>
+ <description>A flag indicating that this component value must be converted and
validated immediately (that is, during Apply Request Values phase), rather than waiting
until a Process Validations phase.
+ </description>
+ </property>
+ &ui_component_attributes;
+ &html_input_attributes;
+ &html_input_events;
+ &ui_input_attributes;
+ &html_events;
+ <property>
+ <name>hoverClass</name>
+ <classname>java.lang.String</classname>
+ <description>Class to be applied to hovered items.</description>
+ <defaultvalue><![CDATA[""]]></defaultvalue>
+ </property>
+ <property>
+ <name>hoverStyle</name>
+ <classname>java.lang.String</classname>
+ <description>CSS style rules to be applied to hovered
items.</description>
+ <defaultvalue><![CDATA[""]]></defaultvalue>
+ </property>
+ <property>
+ <name>disabledClass</name>
+ <classname>java.lang.String</classname>
+ <description>Class to be applied to disabled items.</description>
+ <defaultvalue><![CDATA[""]]></defaultvalue>
+ </property>
+ <property>
+ <name>disabledStyle</name>
+ <classname>java.lang.String</classname>
+ <description>CSS style rules to be applied to disabled
items.</description>
+ <defaultvalue><![CDATA[""]]></defaultvalue>
+ </property>
+ <property>
+ <name>styleClass</name>
+ <classname>java.lang.String</classname>
+ <description>Corresponds to the HTML class attribute.</description>
+ <defaultvalue><![CDATA[""]]></defaultvalue>
+ </property>
+ <property>
+ <name>style</name>
+ <classname>java.lang.String</classname>
+ <description>CSS style(s) to be applied when this component is
rendered.</description>
+ <defaultvalue><![CDATA[""]]></defaultvalue>
+ </property>
+ <property>
+ <name>iconClass</name>
+ <classname>java.lang.String</classname>
+ <description>Class to be applied to icon element.</description>
+ <defaultvalue><![CDATA[""]]></defaultvalue>
+ </property>
+ <property>
+ <name>iconStyle</name>
+ <classname>java.lang.String</classname>
+ <description>CSS style rules to be applied</description>
+ <defaultvalue><![CDATA[""]]></defaultvalue>
+ </property>
+ </component>
+
+ <component>
+ <name>org.richfaces.PanelMenuItem</name>
+ <family>org.richfaces.PanelMenuItem</family>
+ <description>Defines single Item inside popup list.</description>
+ <superclass>org.richfaces.component.panelmenu.UIPanelMenuItem</superclass>
+ <classname>org.richfaces.component.html.HtmlPanelMenuItem</classname>
+ <renderer generate="true" override="true">
+ <name>org.richfaces.PanelMenuItemRenderer</name>
+ <template>org/richfaces/htmlPanelMenuItem.jspx</template>
+ </renderer>
+ <tag>
+ <name>panelMenuItem</name>
+ <classname>org.richfaces.taglib.PanelMenuItemTag</classname>
+ <superclass>org.ajax4jsf.framework.taglib.HtmlComponentTagBase</superclass>
+ </tag>
+ <property>
+ <name>mode</name>
+ <classname>java.lang.String</classname>
+ <description>
+ Set the submission mode (ajax,server(Default),none)
+ </description>
+ <defaultvalue><![CDATA["server"]]></defaultvalue>
+ </property>
+ <property>
+ <name>icon</name>
+ <classname>java.lang.String</classname>
+ <description>Path to the icon or the default one name to be displayed for the
enabled item state</description>
+ </property>
+ <property>
+ <name>iconDisabled</name>
+ <classname>java.lang.String</classname>
+ <description>Path to the icon to be displayed for the disabled item
state</description>
+ </property>
+ <property>
+ <name>disabled</name>
+ <classname>boolean</classname>
+ <description>
+ If “true” sets state of the item to disabled state. “false” is default.
+ </description>
+ <defaultvalue>false</defaultvalue>
+ </property>
+ <property>
+ <name>value</name>
+ <classname>java.lang.Object</classname>
+ <description>Defines representation text for menuItem.</description>
+ </property>
+ <property>
+ <name>hoverClass</name>
+ <classname>java.lang.String</classname>
+ <description>Class to be applied to hovered items.</description>
+ <defaultvalue><![CDATA[""]]></defaultvalue>
+ </property>
+ <property>
+ <name>hoverStyle</name>
+ <classname>java.lang.String</classname>
+ <description>CSS style rules to be applied to hovered
items.</description>
+ <defaultvalue><![CDATA[""]]></defaultvalue>
+ </property>
+ <property>
+ <name>disabledClass</name>
+ <classname>java.lang.String</classname>
+ <description>Class to be applied to disabled items.</description>
+ <defaultvalue><![CDATA[""]]></defaultvalue>
+ </property>
+ <property>
+ <name>disabledStyle</name>
+ <classname>java.lang.String</classname>
+ <description>CSS style rules to be applied to disabled
items.</description>
+ <defaultvalue><![CDATA[""]]></defaultvalue>
+ </property>
+ <property>
+ <name>styleClass</name>
+ <classname>java.lang.String</classname>
+ <description>Corresponds to the HTML class attribute.</description>
+ <defaultvalue><![CDATA[""]]></defaultvalue>
+ </property>
+ <property>
+ <name>style</name>
+ <classname>java.lang.String</classname>
+ <description>CSS style(s) to be applied when this component is
rendered.</description>
+ <defaultvalue><![CDATA[""]]></defaultvalue>
+ </property>
+ <property>
+ <name>iconClass</name>
+ <classname>java.lang.String</classname>
+ <description>Class to be applied to icon element.</description>
+ <defaultvalue><![CDATA[""]]></defaultvalue>
+ </property>
+ <property>
+ <name>iconStyle</name>
+ <classname>java.lang.String</classname>
+ <description>CSS style rules to be applied</description>
+ <defaultvalue><![CDATA[""]]></defaultvalue>
+ </property>
+ &ui_component_attributes;
+ &ui_command_attributes;
+ &html_style_attributes;
+ &html_events;
+ </component>
+</components>
\ No newline at end of file
Added:
trunk/richfaces/panelmenu/src/main/java/org/richfaces/renderkit/PanelMenuGroupRenderer.java
===================================================================
---
trunk/richfaces/panelmenu/src/main/java/org/richfaces/renderkit/PanelMenuGroupRenderer.java
(rev 0)
+++
trunk/richfaces/panelmenu/src/main/java/org/richfaces/renderkit/PanelMenuGroupRenderer.java 2007-05-15
08:21:18 UTC (rev 761)
@@ -0,0 +1,33 @@
+/**
+ * License Agreement.
+ *
+ * JBoss RichFaces 3.0 - Ajax4jsf Component Library
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
+
+package org.richfaces.renderkit;
+
+import javax.faces.component.UIComponent;
+
+public class PanelMenuGroupRenderer extends PanelMenuRendererBase {
+ protected Class getComponentClass() {
+ return UIComponent.class;
+ }
+
+
+
+}
Added:
trunk/richfaces/panelmenu/src/main/java/org/richfaces/renderkit/PanelMenuItemRenderer.java
===================================================================
---
trunk/richfaces/panelmenu/src/main/java/org/richfaces/renderkit/PanelMenuItemRenderer.java
(rev 0)
+++
trunk/richfaces/panelmenu/src/main/java/org/richfaces/renderkit/PanelMenuItemRenderer.java 2007-05-15
08:21:18 UTC (rev 761)
@@ -0,0 +1,31 @@
+/**
+ * License Agreement.
+ *
+ * JBoss RichFaces 3.0 - Ajax4jsf Component Library
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
+
+package org.richfaces.renderkit;
+
+import javax.faces.component.UIComponent;
+
+public class PanelMenuItemRenderer extends PanelMenuRendererBase {
+ protected Class getComponentClass() {
+ return UIComponent.class;
+ }
+
+}
Added:
trunk/richfaces/panelmenu/src/main/java/org/richfaces/renderkit/PanelMenuRenderer.java
===================================================================
---
trunk/richfaces/panelmenu/src/main/java/org/richfaces/renderkit/PanelMenuRenderer.java
(rev 0)
+++
trunk/richfaces/panelmenu/src/main/java/org/richfaces/renderkit/PanelMenuRenderer.java 2007-05-15
08:21:18 UTC (rev 761)
@@ -0,0 +1,39 @@
+/**
+ * License Agreement.
+ *
+ * JBoss RichFaces 3.0 - Ajax4jsf Component Library
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
+
+package org.richfaces.renderkit;
+
+import javax.faces.component.UIComponent;
+
+/**
+ * @author hans
+ *
+ */
+public class PanelMenuRenderer extends PanelMenuRendererBase {
+
+ /* (non-Javadoc)
+ * @see org.ajax4jsf.framework.renderer.RendererBase#getComponentClass()
+ */
+ protected Class getComponentClass() {
+ return UIComponent.class;
+ }
+
+}
Added:
trunk/richfaces/panelmenu/src/main/java/org/richfaces/renderkit/PanelMenuRendererBase.java
===================================================================
---
trunk/richfaces/panelmenu/src/main/java/org/richfaces/renderkit/PanelMenuRendererBase.java
(rev 0)
+++
trunk/richfaces/panelmenu/src/main/java/org/richfaces/renderkit/PanelMenuRendererBase.java 2007-05-15
08:21:18 UTC (rev 761)
@@ -0,0 +1,32 @@
+/**
+ * License Agreement.
+ *
+ * JBoss RichFaces 3.0 - Ajax4jsf Component Library
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
+
+package org.richfaces.renderkit;
+
+import org.ajax4jsf.framework.renderer.HeaderResourcesRendererBase;
+
+/**
+ * @author hans
+ *
+ */
+public abstract class PanelMenuRendererBase extends HeaderResourcesRendererBase {
+
+}
Added: trunk/richfaces/panelmenu/src/main/templates/org/richfaces/htmlPanelMenu.jspx
===================================================================
--- trunk/richfaces/panelmenu/src/main/templates/org/richfaces/htmlPanelMenu.jspx
(rev 0)
+++
trunk/richfaces/panelmenu/src/main/templates/org/richfaces/htmlPanelMenu.jspx 2007-05-15
08:21:18 UTC (rev 761)
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<f:root
+
xmlns:f="http:/jsf.exadel.com/template"
+ xmlns:c="
http://java.sun.com/jsf/core"
+ xmlns:ui="
http://ajax4jsf.org/cdk/ui"
+ xmlns:u="
http://ajax4jsf.org/cdk/u"
+ xmlns:x="
http://ajax4jsf.org/cdk/x"
+ class="org.richfaces.renderkit.html.HtmlPanelMenuRenderer"
+ baseclass="org.richfaces.renderkit.PanelMenuRenderer"
+ component="org.richfaces.component.panelmenu.UIPanelMenu"
+ >
+
+</f:root>
\ No newline at end of file
Added: trunk/richfaces/panelmenu/src/main/templates/org/richfaces/htmlPanelMenuGroup.jspx
===================================================================
--- trunk/richfaces/panelmenu/src/main/templates/org/richfaces/htmlPanelMenuGroup.jspx
(rev 0)
+++
trunk/richfaces/panelmenu/src/main/templates/org/richfaces/htmlPanelMenuGroup.jspx 2007-05-15
08:21:18 UTC (rev 761)
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<f:root
+
xmlns:f="http://ajax4jsf.org/cdk/template"
+ xmlns:c="
http://java.sun.com/jsf/core"
+ xmlns:ui="
http://ajax4jsf.org/cdk/ui"
+ xmlns:u="
http://ajax4jsf.org/cdk/u"
+ xmlns:x="
http://ajax4jsf.org/cdk/x"
+ class="org.richfaces.renderkit.html.HtmlPanelMenuGroupRenderer"
+ baseclass="org.richfaces.renderkit.PanelMenuGroupRenderer"
+ component="org.richfaces.component.panelmenu.UIPanelMenuGroup"
+ >
+
+
+</f:root>
\ No newline at end of file
Added: trunk/richfaces/panelmenu/src/main/templates/org/richfaces/htmlPanelMenuItem.jspx
===================================================================
--- trunk/richfaces/panelmenu/src/main/templates/org/richfaces/htmlPanelMenuItem.jspx
(rev 0)
+++
trunk/richfaces/panelmenu/src/main/templates/org/richfaces/htmlPanelMenuItem.jspx 2007-05-15
08:21:18 UTC (rev 761)
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<f:root
+
xmlns:f="http://ajax4jsf.org/cdk/template"
+ xmlns:c="
http://java.sun.com/jsf/core"
+ xmlns:ui="
http://ajax4jsf.org/cdk/ui"
+ xmlns:u="
http://ajax4jsf.org/cdk/u"
+ xmlns:x="
http://ajax4jsf.org/cdk/x"
+ class="org.richfaces.renderkit.html.HtmlPanelMenuItemRenderer"
+ baseclass="org.richfaces.renderkit.PanelMenuItemRenderer"
+ component="org.richfaces.component.panelmenu.UIPanelMenuItem"
+ >
+
+</f:root>
\ No newline at end of file