Author: Alex.Kolonitsky
Date: 2009-02-09 09:40:57 -0500 (Mon, 09 Feb 2009)
New Revision: 12603
Modified:
trunk/samples/toolBarDemo/src/main/webapp/pages/index.jsp
Log:
change sample for use button in menu item place
https://jira.jboss.org/jira/browse/RF-1825
Modified: trunk/samples/toolBarDemo/src/main/webapp/pages/index.jsp
===================================================================
--- trunk/samples/toolBarDemo/src/main/webapp/pages/index.jsp 2009-02-09 14:23:17 UTC (rev
12602)
+++ trunk/samples/toolBarDemo/src/main/webapp/pages/index.jsp 2009-02-09 14:40:57 UTC (rev
12603)
@@ -2,9 +2,6 @@
<%@ taglib
uri="http://java.sun.com/jsf/core" prefix="f" %>
<%@ taglib
uri="http://richfaces.org/a4j" prefix="a4j" %>
<%@ taglib
uri="http://labs.jboss.com/jbossrichfaces/ui/toolBar"
prefix="rich"%>
-<%@ taglib
uri="http://labs.jboss.com/jbossrichfaces/ui/dropdown-menu"
prefix="ddm" %>
-<%@ taglib
uri="http://labs.jboss.com/jbossrichfaces/ui/menu-components"
prefix="mc" %>
-
<html>
<style>
.toolbar_sep{
@@ -23,20 +20,9 @@
<h:form>
<rich:toolBar itemSeparator="line">
<rich:toolBarGroup itemSeparator="square">
- <ddm:dropDownMenu value="Seed Multiplication -0- "
submitMode="server" rendered="false">
- <mc:menuItem value="oncomplete" id="editItem"
submitMode="none">
- <a4j:support
oncomplete="Richfaces.showModalPanel('_panel');"
event="onclick" />
- </mc:menuItem>
- <mc:menuItem value="oncomplete" id="editItem1"
submitMode="none">
- <a4j:support
oncomplete="Richfaces.showModalPanel('_panel');"
event="onclick" />
- </mc:menuItem>
- </ddm:dropDownMenu>
- <ddm:dropDownMenu value="Field Evaluation -1- "
rendered="false">
- <mc:menuItem value="View fieldplans" />
- </ddm:dropDownMenu>
- <ddm:dropDownMenu value="Field Evaluation -2- "
rendered="true">
- <mc:menuItem value="View fieldplans" />
- </ddm:dropDownMenu>
+ <h:commandButton value="button -1-" />
+ <h:commandButton value="button -2-"
rendered="false" />
+ <h:commandButton value="button -3-"
rendered="false" />
</rich:toolBarGroup>
</rich:toolBar>