Author: dsvyatobatsko
Date: 2008-03-20 13:06:42 -0400 (Thu, 20 Mar 2008)
New Revision: 7021
Modified:
trunk/samples/richfaces-demo/src/main/webapp/richfaces/contextMenu/usage.xhtml
Log:
[RF-2620] Demo site: corrections of Context menu demo layout
Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/contextMenu/usage.xhtml
===================================================================
---
trunk/samples/richfaces-demo/src/main/webapp/richfaces/contextMenu/usage.xhtml 2008-03-20
17:00:41 UTC (rev 7020)
+++
trunk/samples/richfaces-demo/src/main/webapp/richfaces/contextMenu/usage.xhtml 2008-03-20
17:06:42 UTC (rev 7021)
@@ -14,15 +14,18 @@
<p>Context Menu can contain a set of Menu Items, Menu Groups and Menu
Separators.
Usage of these components are similar to usage in RichFaces Drop Down Menu.
</p>
- <p><b>Example:</b>To call the menu - perform the right click on the
picture</p>
- <div class="sample-container">
-
- <ui:include src="/richfaces/contextMenu/example/menu.xhtml"/>
- <ui:include src="/templates/include/sourceview.xhtml">
- <ui:param name="sourcepath"
value="/richfaces/contextMenu/example/menu.xhtml"/>
- </ui:include>
-
- </div>
+ <fieldset class="demo_fieldset">
+ <legend class="demo_legend">Example</legend>
+
+ <div class="sample-container">
+ To call the menu - perform the right click on the picture<br/><br/>
+ <ui:include src="/richfaces/contextMenu/example/menu.xhtml"/>
+ <ui:include src="/templates/include/sourceview.xhtml">
+ <ui:param name="sourcepath"
value="/richfaces/contextMenu/example/menu.xhtml"/>
+ </ui:include>
+
+ </div>
+ </fieldset>
<p>
In this example menu is just defined as nested to <b>panelGroup</b> with
"picture" Id.
You should be careful with such definitions, because on the client menu component
@@ -68,14 +71,17 @@
<b>ComponentControl</b> component could be used to call the instance of
the menu for
the particular component. <b>f:param</b> components could be used to add
parameters to menu.
</p>
+ <fieldset class="demo_fieldset">
+ <legend class="demo_legend">Example</legend>
+ <div class="sample-container">
+ To call the menu - click any car row.<br/><br/>
+ <ui:include src="/richfaces/componentControl/examples/cmenuusage.xhtml"
/>
+ <ui:include src="/templates/include/sourceview.xhtml">
+ <ui:param name="sourcepath"
value="/richfaces/componentControl/examples/cmenuusage.xhtml"/>
+ </ui:include>
+ </div>
+ </fieldset>
<p>
- <b>Example:</b> To call the menu - click any car row.
- </p>
- <ui:include
src="/richfaces/componentControl/examples/cmenuusage.xhtml" />
- <ui:include src="/templates/include/sourceview.xhtml">
- <ui:param name="sourcepath"
value="/richfaces/componentControl/examples/cmenuusage.xhtml"/>
- </ui:include>
- <p>
Pay your attention to the source code. Inside the table you may see component control
that calls the menu.
Menu recreated after every call on the client and new <b>{car}</b> and
<b>{model}</b> values are inserted into the menu.
</p>
Show replies by date