Author: ilya_shaikovsky
Date: 2011-01-14 10:01:12 -0500 (Fri, 14 Jan 2011)
New Revision: 21027
Modified:
trunk/examples/richfaces-showcase/src/main/webapp/richfaces/dropDownMenu/samples/sideMenu-sample.xhtml
trunk/examples/richfaces-showcase/src/main/webapp/richfaces/dropDownMenu/samples/topMenu-sample.xhtml
Log:
https://issues.jboss.org/browse/RF-10193
Modified:
trunk/examples/richfaces-showcase/src/main/webapp/richfaces/dropDownMenu/samples/sideMenu-sample.xhtml
===================================================================
---
trunk/examples/richfaces-showcase/src/main/webapp/richfaces/dropDownMenu/samples/sideMenu-sample.xhtml 2011-01-14
14:47:01 UTC (rev 21026)
+++
trunk/examples/richfaces-showcase/src/main/webapp/richfaces/dropDownMenu/samples/sideMenu-sample.xhtml 2011-01-14
15:01:12 UTC (rev 21027)
@@ -16,39 +16,38 @@
padding: 0px 4px 0px 4px;
}
</style>
- <h:panelGrid styleClass="vertical-menu-cell"
- columnClasses="optionList" columns="1" cellspacing="0"
- cellpadding="0">
- <rich:dropDownMenu
- style="border:1px solid #{a4jSkin.panelBorderColor}"
label="Option1"
- mode="none">
- <rich:menuItem label="Suboption 1-1" />
- <rich:menuItem label="Suboption 1-2">
- <f:facet name="icon">
- <h:graphicImage value="/images/icons/print.gif" />
- </f:facet>
- </rich:menuItem>
- <rich:menuItem label="Suboption 1-3" />
- </rich:dropDownMenu>
- <rich:dropDownMenu
- style="border:1px solid #{a4jSkin.panelBorderColor}"
label="Option2"
- mode="none">
- <rich:menuItem label="Suboption 2-1" />
- <rich:menuItem label="Suboption 2-2" />
- <rich:menuGroup label="Group2">
- <rich:menuItem label="Suboption 2-2-1" />
- <rich:menuItem label="Suboption 2-2-2" />
- </rich:menuGroup>
- <rich:menuItem label="Suboption 2-3" />
- </rich:dropDownMenu>
- <rich:dropDownMenu
- style="border:1px solid #{a4jSkin.panelBorderColor}"
label="Option3"
- mode="none">
- <rich:menuItem label="Suboption 3-1" />
- <rich:menuItem label="Suboption 3-2" />
- <rich:menuItem label="Suboption 3-3" />
- </rich:dropDownMenu>
- </h:panelGrid>
+ <h:panelGrid styleClass="vertical-menu-cell"
columnClasses="optionList"
+ columns="1" cellspacing="0" cellpadding="0">
+ <rich:dropDownMenu
+ style="border:1px solid #{a4jSkin.panelBorderColor}"
label="Option1"
+ mode="client" jointPoint="topRight"
direction="bottomRight">
+ <rich:menuItem label="Suboption 1-1" />
+ <rich:menuItem label="Suboption 1-2">
+ <f:facet name="icon">
+ <h:graphicImage value="/images/icons/print.gif" />
+ </f:facet>
+ </rich:menuItem>
+ <rich:menuItem label="Suboption 1-3" />
+ </rich:dropDownMenu>
+ <rich:dropDownMenu jointPoint="topRight"
direction="bottomRight"
+ style="border:1px solid #{a4jSkin.panelBorderColor}"
label="Option2"
+ mode="client">
+ <rich:menuItem label="Suboption 2-1" />
+ <rich:menuItem label="Suboption 2-2" />
+ <rich:menuGroup label="Group2">
+ <rich:menuItem label="Suboption 2-2-1" />
+ <rich:menuItem label="Suboption 2-2-2" />
+ </rich:menuGroup>
+ <rich:menuItem label="Suboption 2-3" />
+ </rich:dropDownMenu>
+ <rich:dropDownMenu jointPoint="topRight"
direction="bottomRight"
+ style="border:1px solid #{a4jSkin.panelBorderColor}"
label="Option3"
+ mode="client">
+ <rich:menuItem label="Suboption 3-1" />
+ <rich:menuItem label="Suboption 3-2" />
+ <rich:menuItem label="Suboption 3-3" />
+ </rich:dropDownMenu>
+ </h:panelGrid>
</ui:composition>
</html>
\ No newline at end of file
Modified:
trunk/examples/richfaces-showcase/src/main/webapp/richfaces/dropDownMenu/samples/topMenu-sample.xhtml
===================================================================
---
trunk/examples/richfaces-showcase/src/main/webapp/richfaces/dropDownMenu/samples/topMenu-sample.xhtml 2011-01-14
14:47:01 UTC (rev 21026)
+++
trunk/examples/richfaces-showcase/src/main/webapp/richfaces/dropDownMenu/samples/topMenu-sample.xhtml 2011-01-14
15:01:12 UTC (rev 21027)
@@ -76,8 +76,8 @@
</rich:menuItem>
</rich:dropDownMenu>
<rich:toolbarGroup location="right">
- <rich:dropDownMenu label="Search" direction="bottom-left"
- jointPoint="br" styleClass="search" mode="client">
+ <rich:dropDownMenu label="Search" direction="bottomLeft"
+ jointPoint="bottomRight" styleClass="search"
mode="client">
<rich:menuItem>
<h:inputText value="" id="searchinput" />
<button type="button">Search</button>