Author: dsvyatobatsko
Date: 2008-03-20 15:05:40 -0400 (Thu, 20 Mar 2008)
New Revision: 7031
Modified:
trunk/samples/richfaces-demo/src/main/webapp/richfaces/dropDownMenu/examples/topmenu.xhtml
trunk/samples/richfaces-demo/src/main/webapp/richfaces/dropDownMenu/usage.xhtml
Log:
[RF-2621] Demo site: corrections of Drop Down Menu, Menu Group, Menu Item and Menu
Separator demo layouts
Modified:
trunk/samples/richfaces-demo/src/main/webapp/richfaces/dropDownMenu/examples/topmenu.xhtml
===================================================================
---
trunk/samples/richfaces-demo/src/main/webapp/richfaces/dropDownMenu/examples/topmenu.xhtml 2008-03-20
18:37:50 UTC (rev 7030)
+++
trunk/samples/richfaces-demo/src/main/webapp/richfaces/dropDownMenu/examples/topmenu.xhtml 2008-03-20
19:05:40 UTC (rev 7031)
@@ -52,10 +52,12 @@
</rich:dropDownMenu>
</rich:toolBar>
- </h:form>
+ </h:form>
+ <img src="images/spacer.gif" width="1" height="25"
alt="" border="0"/><br/>
<a4j:outputPanel ajaxRendered="true">
<h:outputText value="Current Selection: "></h:outputText>
<h:outputText style="font-weight:bold"
value="#{ddmenu.current}"></h:outputText>
</a4j:outputPanel>
+ <br/><img src="images/spacer.gif" width="1"
height="25" alt="" border="0"/>
</ui:composition>
\ No newline at end of file
Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/dropDownMenu/usage.xhtml
===================================================================
---
trunk/samples/richfaces-demo/src/main/webapp/richfaces/dropDownMenu/usage.xhtml 2008-03-20
18:37:50 UTC (rev 7030)
+++
trunk/samples/richfaces-demo/src/main/webapp/richfaces/dropDownMenu/usage.xhtml 2008-03-20
19:05:40 UTC (rev 7031)
@@ -13,15 +13,17 @@
<p>RichFaces Drop Down menu is a component that allows to organize the
hierarchical menu
similar to one that almost every desktop application has.
</p>
-
- <div class="sample-container">
+ <fieldset class="demo_fieldset">
+ <legend class="demo_legend">Example</legend>
+ <div class="sample-container">
- <ui:include src="/richfaces/dropDownMenu/examples/topmenu.xhtml"/>
- <ui:include src="/templates/include/sourceview.xhtml">
- <ui:param name="sourcepath"
value="/richfaces/dropDownMenu/examples/topmenu.xhtml"/>
- </ui:include>
+ <ui:include src="/richfaces/dropDownMenu/examples/topmenu.xhtml"/>
+ <ui:include src="/templates/include/sourceview.xhtml">
+ <ui:param name="sourcepath"
value="/richfaces/dropDownMenu/examples/topmenu.xhtml"/>
+ </ui:include>
- </div>
+ </div>
+ </fieldset>
<p>The drop down menu has a label that always appears on the page and invisible
panel
that appears with a particular client side event (onmouseover, onclick etc). The
event is
defined with an 'event' attribute.</p>
@@ -30,20 +32,18 @@
horizontal lines between the items or groups. An item is an active element that might
produce
Ajax or non-Ajax requests. The submittion mode is defined with 'submitMode'
attribute that has
three possible options - "server", "ajax" or "none".
Mode "none" does not produce any request, but
- allows you to provide your own functionality inside the menu item with an inline
content.
- </p>
- <p>You can place a block of drop down menus horizontally or vertially how it is
shown below.
- </p>
-
- <div class="sample-container">
-
- <ui:include src="/richfaces/dropDownMenu/examples/sidemenu.xhtml"/>
- <ui:include src="/templates/include/sourceview.xhtml">
- <ui:param name="sourcepath"
value="/richfaces/dropDownMenu/examples/sidemenu.xhtml"/>
- </ui:include>
-
-
- </div>
+ allows you to provide your own functionality inside the menu item with an inline
content.</p>
+ <fieldset class="demo_fieldset">
+ <legend class="demo_legend">Example</legend>
+ <div class="sample-container">
+ You can place a block of drop down menus horizontally or vertially how it is shown
below. <br/><br/>
+ <ui:include src="/richfaces/dropDownMenu/examples/sidemenu.xhtml"/>
+ <br/><img src="images/spacer.gif" width="1"
height="25" alt="" border="0"/>
+ <ui:include src="/templates/include/sourceview.xhtml">
+ <ui:param name="sourcepath"
value="/richfaces/dropDownMenu/examples/sidemenu.xhtml"/>
+ </ui:include>
+ </div>
+ </fieldset>
</ui:define>
</ui:composition>