Author: ilya_shaikovsky
Date: 2009-11-18 08:48:15 -0500 (Wed, 18 Nov 2009)
New Revision: 15918
Modified:
branches/community/3.3.X/samples/richfaces-demo/src/main/resources/org/richfaces/demo/common/components.properties
branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/dropDownMenu/examples/topmenu.xhtml
Log:
https://jira.jboss.org/jira/browse/RF-8047
Modified:
branches/community/3.3.X/samples/richfaces-demo/src/main/resources/org/richfaces/demo/common/components.properties
===================================================================
---
branches/community/3.3.X/samples/richfaces-demo/src/main/resources/org/richfaces/demo/common/components.properties 2009-11-18
13:43:56 UTC (rev 15917)
+++
branches/community/3.3.X/samples/richfaces-demo/src/main/resources/org/richfaces/demo/common/components.properties 2009-11-18
13:48:15 UTC (rev 15918)
@@ -30,7 +30,7 @@
panelMenu= richOutputs, Panel Menu,
/images/ico_panelMenu.gif, /images/cn_PanelMenu.gif,
rich_panelMenu.html, rich/panelMenu.html,
org/richfaces/component/UIPanelMenu.html, /richfaces/panelMenu.jsf
suggestionBox= richInputs, Suggestion Box,
/images/ico_SuggestionBox.gif, /images/cn_SuggestionBox.gif,
rich_suggestionbox.html, rich/suggestionbox.html,
org/richfaces/component/UISuggestionBox.html,
/richfaces/suggestionBox.jsf
dataTableScroller= richDataIterators, Data Scroller,
/images/ico_DataTableScroller.gif, /images/cn_DataTableScroller.gif,
rich_datascroller.html, rich/datascroller.html,
org/richfaces/component/UIDatascroller.html,
/richfaces/dataTableScroller.jsf
-dropDownMenu= richMenu, Drop Down Menu,
/images/ico_DropDownMenu.gif, /images/cn_DropDownMenu.gif,
rich_dropDownMenu.html, rich/dropDownMenu.html,
org/richfaces/component/UIDropDownMenu.html, /richfaces/dropDownMenu.jsf
+dropDownMenu= richMenu, Drop Down Menu,
/images/ico_DropDownMenu.gif, /images/cn_DropDownMenu.gif,
rich_dropDownMenu.html, rich/dropDownMenu.html,
org/richfaces/component/UIDropDownMenu.html, /richfaces/dropDownMenu.jsf,
new
menuGroup= richMenu, Menu Group,
/images/ico_MenuGroup.gif, /images/cn_MenuGroup.gif,
rich_menuGroup.html, rich/menuGroup.html,
org/richfaces/component/UIMenuGroup.html, /richfaces/dropDownMenu.jsf
menuItem= richMenu, Menu Item, /images/ico_MenuItem.gif,
/images/cn_MenuItem.gif, rich_menuItem.html,
rich/menuItem.html,
org/richfaces/component/UIMenuItem.html, /richfaces/dropDownMenu.jsf
menuSeparator= richMenu, Menu Separator,
/images/ico_MenuSeparator.gif, /images/cn_MenuSeparator.gif,
rich_menuSeparator.html, rich/menuSeparator.html,
org/richfaces/component/UIMenuSeparator.html, /richfaces/dropDownMenu.jsf
@@ -48,7 +48,7 @@
commandButton= ajaxSupport, Command Button, /images/ico_common.gif,
/images/cn_commandButton.gif, a4j_commandButton.html,
a4j/commandButton.html,
org/ajax4jsf/component/UIAjaxCommandButton.html,
/richfaces/commandButton.jsf
commandLink= ajaxSupport, Command Link, /images/ico_common.gif,
/images/cn_commandLink.gif, a4j_commandLink.html,
a4j/commandLink.html,
org/ajax4jsf/component/UIAjaxCommandLink.html,
/richfaces/commandLink.jsf
form= ajaxSupport, Ajax Form, /images/ico_common.gif,
/images/cn_ajaxForm.gif, a4j_form.html,
a4j/form.html,
org/ajax4jsf/component/UIAjaxForm.html, /richfaces/form.jsf
-support= ajaxSupport, Ajax Support, /images/ico_common.gif,
/images/cn_ajaxSupport.gif, a4j_support.html,
a4j/support.html,
org/ajax4jsf/component/UIAjaxSupport.html,
/richfaces/support.jsf
+support= ajaxSupport, Ajax Support, /images/ico_common.gif,
/images/cn_ajaxSupport.gif, a4j_support.html,
\t\t a4j/support.html,
\t\t\t\t\t\t\t\t\torg/ajax4jsf/component/UIAjaxSupport.html,
/richfaces/support.jsf
jsFunction= ajaxSupport, JS Function, /images/ico_common.gif,
/images/cn_jsFunction.gif, a4j_jsFunction.html,
a4j/jsFunction.html,
org/ajax4jsf/component/UIAjaxFunction.html,
/richfaces/jsFunction.jsf
poll= ajaxSupport, Poll, /images/ico_common.gif,
/images/cn_poll.gif, a4j_poll.html,
a4j/poll.html,
org/ajax4jsf/component/UIPoll.html, /richfaces/poll.jsf
push= ajaxSupport, Push, /images/ico_common.gif,
/images/cn_push.gif, a4j_push.html,
a4j/push.html,
org/ajax4jsf/component/UIPush.html, /richfaces/push.jsf ,
new
Modified:
branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/dropDownMenu/examples/topmenu.xhtml
===================================================================
---
branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/dropDownMenu/examples/topmenu.xhtml 2009-11-18
13:43:56 UTC (rev 15917)
+++
branches/community/3.3.X/samples/richfaces-demo/src/main/webapp/richfaces/dropDownMenu/examples/topmenu.xhtml 2009-11-18
13:48:15 UTC (rev 15918)
@@ -10,7 +10,12 @@
margin-bottom: -4px;
margin-right: 2px;
}
+ .search .rich-menu-item-hover{
+ background-color: transparent;
+ border-color: transparent;
+ }
</style>
+
<h:form>
<rich:toolBar>
@@ -70,6 +75,15 @@
</rich:menuItem>
</rich:dropDownMenu>
+ <rich:toolBarGroup location="right">
+ <rich:dropDownMenu value="Search" direction="bottom-left"
jointPoint="br" styleClass="search">
+ <rich:menuItem submitMode="none">
+ <h:inputText value="" id="searchinput"/>
+ <button type="button">Search</button>
+ </rich:menuItem>
+ <rich:menuItem value="Enter your search criteria here"
disabled="true"></rich:menuItem>
+ </rich:dropDownMenu>
+ </rich:toolBarGroup>
</rich:toolBar>
</h:form>
<rich:spacer width="1" height="5"/>