Author: msorokin
Date: 2009-03-20 13:33:01 -0400 (Fri, 20 Mar 2009)
New Revision: 13073
Modified:
trunk/test-applications/richfaces-docs/web/src/main/webapp/layout/menu.xhtml
trunk/test-applications/richfaces-docs/web/src/main/webapp/layout/template.xhtml
Log:
https://jira.jboss.org/jira/browse/RF-6419
added some features
Modified: trunk/test-applications/richfaces-docs/web/src/main/webapp/layout/menu.xhtml
===================================================================
---
trunk/test-applications/richfaces-docs/web/src/main/webapp/layout/menu.xhtml 2009-03-20
17:32:37 UTC (rev 13072)
+++
trunk/test-applications/richfaces-docs/web/src/main/webapp/layout/menu.xhtml 2009-03-20
17:33:01 UTC (rev 13073)
@@ -1,27 +1,53 @@
-<rich:toolBar
+<rich:toolBar
xmlns="http://www.w3.org/1999/xhtml"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:s="http://jboss.com/products/seam/taglib"
-
xmlns:rich="http://richfaces.org/rich">
+
xmlns:rich="http://richfaces.org/rich"
+ styleClass="menuToolBar"
+
+ >
+
<rich:toolBarGroup>
<h:outputText value="#{projectName}:"/>
<s:link view="/home.xhtml" value="Home"/>
-
+ <span>|</span>
+
+ <s:link view="/conventions.xhtml" value="Conventions"
/>
+
+
</rich:toolBarGroup>
<!-- @newMenuItem@ -->
<rich:toolBarGroup location="right">
+
+ <h:outputText value="Load Script Stategy" />
+
+
+ <span>|</span>
+ <h:outputText value="Global Queue:" style="margin: 0px;
padding: 0px;"/>
+ <h:form>
+
+
+ <h:selectOneMenu value="#{globalQueue.globalQueue}"
onchange="submit()">
+ <f:selectItem itemLabel="Enable" itemValue="true"
/>
+ <f:selectItem itemLabel="Disable" itemValue="false" />
+
+ </h:selectOneMenu>
+ </h:form>
+
+ <span>|</span>
- <h:outputText value="Standard controls skinning:" />
+
+ <h:outputText value="Standard controls skinning:" />
<h:form>
-
- <h:selectOneRadio value="#{skin.standardSkinning}"
onchange="submit()" >
- <f:selectItem id="item1" itemLabel="Enable"
itemValue="enable" />
- <f:selectItem id="item2" itemLabel="Disable"
itemValue="disable" />
- </h:selectOneRadio>
+ <h:selectOneMenu value="#{skin.standardSkinning}">
+ <f:selectItem itemLabel="Enable" itemValue="enable"/>
+ <f:selectItem itemLabel="Disable" itemValue="disable"
/>
+ </h:selectOneMenu>
+
</h:form>
-
+ <span>|</span>
<h:outputText value="Select skin:" />
<h:form>
Modified:
trunk/test-applications/richfaces-docs/web/src/main/webapp/layout/template.xhtml
===================================================================
---
trunk/test-applications/richfaces-docs/web/src/main/webapp/layout/template.xhtml 2009-03-20
17:32:37 UTC (rev 13072)
+++
trunk/test-applications/richfaces-docs/web/src/main/webapp/layout/template.xhtml 2009-03-20
17:33:01 UTC (rev 13073)
@@ -8,7 +8,7 @@
xmlns:rich="http://richfaces.org/rich">
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=UTF-8" />
- <title>RichFaces Docs</title>
+ <title>RichFaces Documentation Application</title>
<link href="stylesheet/theme.css" rel="stylesheet"
type="text/css" />
</head>
@@ -19,50 +19,8 @@
</ui:include>
<div class="richcomponentsmenu">
-<rich:panelMenu
-mode="client"
- iconExpandedGroup="disc"
- iconCollapsedGroup="disc"
- iconExpandedTopGroup="chevronUp"
- iconGroupTopPosition="right"
- iconCollapsedTopGroup="chevronDown"
- iconCollapsedTopPosition="right"
-
- >
-<rich:panelMenuGroup label="Rich Components" id="group1"
value="#{menuState.menu['group1']}" >
-
-<rich:panelMenuItem actionListener="#{menuBean.select}"
mode="server">
-<h:outputLink value="colorPicker.xhtml"
>rich:colorPicker</h:outputLink>
-</rich:panelMenuItem>
-
-</rich:panelMenuGroup>
-<rich:panelMenuGroup label="A4J Components" id="group2"
value="#{menuState.menu['group2']}">
-
-<rich:panelMenuItem actionListener="#{menuBean.select}"
mode="server">
-<h:outputLink value="queue.xhtml" >a4j:queue</h:outputLink>
-</rich:panelMenuItem>
-
-</rich:panelMenuGroup>
-<rich:panelMenuGroup label="Framework" id="group3"
value="#{menuState.menu['group3']}">
-
-<rich:panelMenuItem actionListener="#{menuBean.select}"
mode="server">
-<h:outputLink value="framework.xhtml" >Framework</h:outputLink>
-</rich:panelMenuItem>
-
-</rich:panelMenuGroup>
-
-<rich:panelMenuGroup label="Skinnability" id="group4"
value="#{menuState.menu['group4']}">
-
-<rich:panelMenuItem actionListener="#{menuBean.select}"
mode="server">
-<h:outputLink value="stskinning.xhtml" >Standard
Skinning</h:outputLink>
-</rich:panelMenuItem>
-
-</rich:panelMenuGroup>
-
-
-
-
-</rich:panelMenu>
+ <ui:include src="mainMenu.xhtml" />
+
</div>
<div class="body" >