Author: msorokin
Date: 2008-04-28 11:48:21 -0400 (Mon, 28 Apr 2008)
New Revision: 8243
Modified:
trunk/ui/panelmenu/src/main/config/component/panelMenu.xml
Log:
http://jira.jboss.com/jira/browse/RF-730
http://jira.jboss.com/jira/browse/RF-2220
Corrected language and added default values
Modified: trunk/ui/panelmenu/src/main/config/component/panelMenu.xml
===================================================================
--- trunk/ui/panelmenu/src/main/config/component/panelMenu.xml 2008-04-28 15:48:14 UTC
(rev 8242)
+++ trunk/ui/panelmenu/src/main/config/component/panelMenu.xml 2008-04-28 15:48:21 UTC
(rev 8243)
@@ -8,11 +8,11 @@
<description>Defines the menu on the page and the set of the child elements
properties in
layout.</description>
<superclass>org.richfaces.component.UIPanelMenu</superclass>
- <classname>org.richfaces.component.html.HtmlPanelMenu</classname>
- <test>
- <classname>org.richfaces.component.html.HtmlPanelMenuComponentTest</classname>
- <superclassname>org.ajax4jsf.tests.AbstractAjax4JsfTestCase</superclassname>
- </test>
+ <classname>org.richfaces.component.html.HtmlPanelMenu</classname>
+ <test>
+ <classname>org.richfaces.component.html.HtmlPanelMenuComponentTest</classname>
+ <superclassname>org.ajax4jsf.tests.AbstractAjax4JsfTestCase</superclassname>
+ </test>
<renderer generate="true" override="true">
<name>org.richfaces.PanelMenuRenderer</name>
@@ -21,40 +21,41 @@
<tag>
<name>panelMenu</name>
<classname>org.richfaces.taglib.PanelMenuTag</classname>
- <superclass>org.ajax4jsf.webapp.taglib.HtmlComponentTagBase</superclass>
+ <superclass>org.ajax4jsf.webapp.taglib.HtmlComponentTagBase</superclass>
<test/>
- </tag>
-
- <property hidden="true">
- <name>firstExpandedEncoded</name>
- <classname>boolean</classname>
- <defaultvalue>false</defaultvalue>
+ </tag>
+
+ <property hidden="true">
+ <name>firstExpandedEncoded</name>
+ <classname>boolean</classname>
+ <defaultvalue>false</defaultvalue>
</property>
<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>
+ submenu's expand/collapse. Default value is "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>
+ ones where this attribute redefined. Possible values are "ajax",
"server", "none". Default value is
"server".</description>
<defaultvalue><![CDATA["server"]]></defaultvalue>
</property>
<property>
<name>width</name>
<classname>java.lang.String</classname>
- <description>Set minimal width for the menu.</description>
+ <description>Set minimal width for the menu. Default value is
"100%".</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>
+ except ones where this attribute redefined. Possible values are
"ajax", "server", "none".
+ Default value is "none". </description>
<defaultvalue><![CDATA["none"]]></defaultvalue>
</property>
<property>
@@ -62,25 +63,34 @@
<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>
+ closed. If the value is false, the node is left opened. 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>
+ <description>Path to the icon to be displayed for the enabled item state.
+ You can also use predefined icons setting the attribute to:
"triangle", "triangleUp",
"triangleDown", "disc", "chevron",
"chevronUp", "chevronDown", "grid".
+ Default value is "grid".
+ </description>
<defaultvalue><![CDATA["grid"]]></defaultvalue>
</property>
<property>
<name>iconDisabledItem</name>
<classname>java.lang.String</classname>
- <description>Path to the icon to be displayed for the disabled item
state</description>
+ <description>Path to the icon to be displayed for the disabled item state.
+ You can also use predefined icons setting the attribute to:
"triangle", "triangleUp",
"triangleDown", "disc", "chevron",
"chevronUp", "chevronDown", "grid".
+ Default value is "grid".
+ </description>
<defaultvalue><![CDATA["grid"]]></defaultvalue>
</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>
+ <description>Path to the icon to be displayed for the enabled top item state.
+ You can also use predefined icons setting the attribute to:
"triangle", "triangleUp",
"triangleDown", "disc", "chevron",
"chevronUp", "chevronDown", "grid".
+ Default value is "grid".
+ </description>
<defaultvalue><![CDATA["grid"]]></defaultvalue>
</property>
<property>
@@ -128,25 +138,26 @@
<property>
<name>iconItemPosition</name>
<classname>java.lang.String</classname>
- <description>Position of the icon (left, right none (default) ) for the item
icon</description>
+ <description>Position of the icon for the item icon. Possible values are
"left","right","none". Default value
is "left". </description>
<defaultvalue><![CDATA["left"]]></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>
+ <description>Position of the icon for the top item icon.
+ Possible values are
"left","right","none". Default value
is "left".</description>
<defaultvalue><![CDATA["left"]]></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>
+ <description>Position of the icon for the group icon. Possible values are
"left","right","none". Default value
is "left".</description>
<defaultvalue><![CDATA["left"]]></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>
+ <description>Position of the icon for the top group icon. Possible values are
"left","right","none". Default value
is "left".</description>
<defaultvalue><![CDATA["left"]]></defaultvalue>
</property>
<property>
@@ -329,7 +340,7 @@
<property>
<name>disabled</name>
<classname>boolean</classname>
- <description> If true sets state of the item to disabled state. false is
default. </description>
+ <description> If true sets state of the item to disabled state. Default value is
"false". </description>
<defaultvalue>false</defaultvalue>
</property>
@@ -367,7 +378,7 @@
<name>label</name>
<classname>java.lang.String</classname>
<description>A localized user presentable name for this
component.</description>
- </property>
+ </property>
</component>
<component>
@@ -376,10 +387,10 @@
<description>Defines expandable group of items inside the panel menu or other
group.</description>
<superclass>org.richfaces.component.UIPanelMenuGroup</superclass>
<classname>org.richfaces.component.html.HtmlPanelMenuGroup</classname>
- <test>
- <classname>org.richfaces.component.html.HtmlPanelMenuGroupComponentTest</classname>
- <superclassname>org.ajax4jsf.tests.AbstractAjax4JsfTestCase</superclassname>
- </test>
+ <test>
+ <classname>org.richfaces.component.html.HtmlPanelMenuGroupComponentTest</classname>
+ <superclassname>org.ajax4jsf.tests.AbstractAjax4JsfTestCase</superclassname>
+ </test>
<renderer generate="true" override="true">
<name>org.richfaces.PanelMenuGroupRenderer</name>
<template>org/richfaces/htmlPanelMenuGroup.jspx</template>
@@ -387,15 +398,15 @@
<tag>
<name>panelMenuGroup</name>
<classname>org.richfaces.taglib.PanelMenuGroupTag</classname>
- <superclass>org.richfaces.taglib.PanelMenuGroupTagBase</superclass>
+ <superclass>org.richfaces.taglib.PanelMenuGroupTagBase</superclass>
<test/>
- </tag>
-
- <taghandler generate="true">
- <classname>org.richfaces.taglib.PanelMenuGroupTagHandler</classname>
- <superclass>org.richfaces.taglib.PanelMenuGroupTagHandlerBase</superclass>
- </taghandler>
+ </tag>
+ <taghandler generate="true">
+ <classname>org.richfaces.taglib.PanelMenuGroupTagHandler</classname>
+ <superclass>org.richfaces.taglib.PanelMenuGroupTagHandlerBase</superclass>
+ </taghandler>
+
<property>
<name>expandMode</name>
<classname>java.lang.String</classname>
@@ -437,7 +448,7 @@
<name>name</name>
<classname>java.lang.String</classname>
<description>'selectedChild' attribute of PanelMenu refers to group/item
with the same
- name</description>
+ name. Default value is "getId()".</description>
<defaultvalue>getId()</defaultvalue>
</property>
<!--property>
@@ -459,7 +470,7 @@
&ui_output_attributes;
&html_events;
&ajax_component_attributes;
- &ui_command_attributes;
+ &ui_command_attributes;
<property>
<name>oncollapse</name>
<classname>java.lang.String</classname>
@@ -565,10 +576,10 @@
<description>Defines single Item inside popup list.</description>
<superclass>org.richfaces.component.UIPanelMenuItem</superclass>
<classname>org.richfaces.component.html.HtmlPanelMenuItem</classname>
- <test>
- <classname>org.richfaces.component.html.HtmlPanelMenuItemComponentTest</classname>
- <superclassname>org.ajax4jsf.tests.AbstractAjax4JsfTestCase</superclassname>
- </test>
+ <test>
+ <classname>org.richfaces.component.html.HtmlPanelMenuItemComponentTest</classname>
+ <superclassname>org.ajax4jsf.tests.AbstractAjax4JsfTestCase</superclassname>
+ </test>
<renderer generate="true" override="true">
<name>org.richfaces.PanelMenuItemRenderer</name>
<template>org/richfaces/htmlPanelMenuItem.jspx</template>
@@ -576,7 +587,7 @@
<tag>
<name>panelMenuItem</name>
<classname>org.richfaces.taglib.PanelMenuItemTag</classname>
- <superclass>org.ajax4jsf.webapp.taglib.HtmlComponentTagBase</superclass>
+ <superclass>org.ajax4jsf.webapp.taglib.HtmlComponentTagBase</superclass>
<test/>
</tag>
<property>
@@ -601,7 +612,7 @@
<property>
<name>disabled</name>
<classname>boolean</classname>
- <description> If true sets state of the item to disabled state. false is
default. </description>
+ <description> If true sets state of the item to disabled state. Default value is
"false". </description>
<defaultvalue>false</defaultvalue>
</property>
<property>
@@ -613,7 +624,7 @@
<name>name</name>
<classname>java.lang.String</classname>
<description>'selectedChild' attribute of PanelMenu refers to group/item
with the same
- name</description>
+ name. Default value is "getId()".</description>
<defaultvalue>getId()</defaultvalue>
</property>
<property>
@@ -663,7 +674,7 @@
<classname>java.lang.String</classname>
<description>CSS style rules to be applied</description>
<defaultvalue><![CDATA[""]]></defaultvalue>
- </property>
+ </property>
&ui_component_attributes;
&ui_command_attributes;
&html_style_attributes;