Author: artdaw
Date: 2007-12-01 09:30:57 -0500 (Sat, 01 Dec 2007)
New Revision: 4406
Modified:
trunk/docs/userguide/en/src/main/docbook/included/contextMenu.xml
Log:
RF-1298 - contextMenu. Fix Details of Usage
Modified: trunk/docs/userguide/en/src/main/docbook/included/contextMenu.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/contextMenu.xml 2007-12-01 14:30:28
UTC (rev 4405)
+++ trunk/docs/userguide/en/src/main/docbook/included/contextMenu.xml 2007-12-01 14:30:57
UTC (rev 4406)
@@ -8,39 +8,32 @@
</sectioninfo>
<table>
<title>Component identification parameters</title>
-
<tgroup cols="2">
<thead>
<row>
<entry>Name</entry>
-
<entry>Value</entry>
</row>
</thead>
<tbody>
<row>
<entry>component-type</entry>
-
<entry>org.richfaces.ContextMenu</entry>
</row>
<row>
<entry>component-class</entry>
-
<entry>org.richfaces.component.html.ContextMenu</entry>
</row>
<row>
<entry>component-family</entry>
-
<entry>org.richfaces.ContextMenu</entry>
</row>
<row>
<entry>renderer-type</entry>
-
<entry>org.richfaces.DropDownMenuRenderer</entry>
</row>
<row>
<entry>tag-class</entry>
-
<entry>org.richfaces.taglib.ContextMenuTagHandler</entry>
</row>
</tbody>
@@ -49,34 +42,24 @@
<section>
<title>Creating the Component with a Page Tag</title>
<para>Here is a simple example as it could be used on a page:
</para>
-
<para>
<emphasis role="bold">Example:</emphasis>
</para>
<programlisting role="XML"><![CDATA[...
- <rich:contextMenu value="Menu1">
-
- <!--Nested menu components-->
-
- </rich:contextMenu>
-...
-]]></programlisting>
+<rich:contextMenu value="Menu1">
+ <!--Nested menu components-->
+</rich:contextMenu>
+...]]></programlisting>
</section>
<section>
<title>Creating the Component Dynamically Using Java</title>
-
<para>
<emphasis role="bold">Example:</emphasis>
</para>
- <programlisting role="JAVA"><![CDATA[
-import org.richfaces.component.html.HtmlContextMenu;
-
+ <programlisting role="JAVA"><![CDATA[import
org.richfaces.component.html.HtmlContextMenu;
...
-
HtmlContextMenu myContextMenu = new HtmlContextMenu();
-
-...
-]]></programlisting>
+...]]></programlisting>
</section>
<section>
<title>Details of Usage</title>
@@ -117,7 +100,7 @@
</listitem>
</itemizedlist>
<para><emphasis role="bold">
- <property><contextMenu></property>
+ <property><rich:contextMenu></property>
</emphasis> provides <emphasis>
<property>"jointPoint"</property>
</emphasis> attribute to set the point on the label element to connect
popup. Possible
@@ -264,61 +247,43 @@
<para>On the screenshot there are classes names that define styles for
component elements.</para>
- <figure>
- <title>Classes names</title>
-
- <mediaobject>
- <imageobject>
- <imagedata fileref=""/>
- </imageobject>
- </mediaobject>
- </figure>
-
+ <!-- ADD SCREENSHOT -->
+
<table>
<title>Classes names that define a menu item</title>
-
<tgroup cols="2">
<thead>
<row>
<entry>Class name</entry>
-
<entry>Description</entry>
</row>
</thead>
-
<tbody>
<row>
<entry>rich-menu-item</entry>
-
<entry>Defines styles for menu item</entry>
</row>
<row>
<entry>rich-menu-item-disabled</entry>
-
<entry>Defines styles for menu item in disabed
state</entry>
</row>
<row>
<entry>rich-menu-item-enabled</entry>
-
<entry>Defines styles for menu item in enabled
state</entry>
</row>
<row>
<entry>rich-menu-item-hover</entry>
-
<entry>Defines styles for menu item on hover
event</entry>
</row>
<row>
<entry>rich-menu-item-icon</entry>
-
<entry>Defines styles for icon in menu item</entry>
</row>
</tbody>
</tgroup>
</table>
-
<table>
<title>Classes names that define a menu item
label</title>
-
<tgroup cols="2">
<thead>
<row>
@@ -327,21 +292,17 @@
<entry>Description</entry>
</row>
</thead>
-
<tbody>
<row>
<entry>rich-menu-item-label</entry>
-
<entry>Defines styles for menu item label</entry>
</row>
<row>
<entry>rich-menu-item-label-disabled</entry>
-
<entry>Defines styles for menu item label in disabled
state</entry>
</row>
<row>
<entry>rich-menu-item-label-selected</entry>
-
<entry>Defines styles for menu item label already
selected</entry>
</row>
</tbody>
@@ -349,7 +310,6 @@
</table>
<table>
<title>Classes names that define a menu item icon</title>
-
<tgroup cols="2">
<thead>
<row>
@@ -358,55 +318,45 @@
<entry>Description</entry>
</row>
</thead>
-
<tbody>
<row>
<entry>rich-menu-item-icon-disabled</entry>
-
<entry>Defines styles for icon of menu item in disabled
state</entry>
</row>
<row>
<entry>rich-menu-item-icon-selected</entry>
-
- <entry></entry>
+ <entry>Defines styles for icon of menu item in selected
state</entry>
</row>
</tbody>
</tgroup>
</table>
<table>
<title>Classes names that define a group element</title>
-
<tgroup cols="2">
<thead>
<row>
<entry>Class name</entry>
-
<entry>Description</entry>
</row>
</thead>
-
<tbody>
<row>
<entry>rich-menu-group</entry>
-
<entry>Defines styles for menu group</entry>
</row>
<row>
<entry>rich-menu-group-disabled</entry>
-
<entry>Defines styles for menu group in disabled
state</entry>
</row>
<row>
<entry>rich-menu-group-selected</entry>
-
- <entry></entry>
+ <entry>Defines styles for menu group in selected
state</entry>
</row>
</tbody>
</tgroup>
</table>
<table>
<title>Classes names that define a separator</title>
-
<tgroup cols="2">
<thead>
<row>
@@ -415,11 +365,9 @@
<entry>Description</entry>
</row>
</thead>
-
<tbody>
<row>
<entry>rich-menu-separator</entry>
-
<entry>Defines styles for menu separator</entry>
</row>
</tbody>
@@ -427,7 +375,6 @@
</table>
<table>
<title>Classes names that define a popup element</title>
-
<tgroup cols="2">
<thead>
<row>
@@ -436,11 +383,9 @@
<entry>Description</entry>
</row>
</thead>
-
<tbody>
<row>
<entry>rich-menu-popup</entry>
-
<entry>Defines styles for popup element</entry>
</row>
</tbody>
Show replies by date