Author: nbelaevski
Date: 2011-01-26 13:42:49 -0500 (Wed, 26 Jan 2011)
New Revision: 21243
Modified:
trunk/examples/output-demo/src/main/webapp/examples/collapsiblePanel.xhtml
trunk/examples/output-demo/src/main/webapp/examples/panelMenu.xhtml
trunk/examples/output-demo/src/main/webapp/examples/tabPanel.xhtml
trunk/examples/output-demo/src/main/webapp/examples/togglePanel-client.xhtml
trunk/examples/output-demo/src/main/webapp/templates/template.xhtml
Log:
output-demo updated
Modified: trunk/examples/output-demo/src/main/webapp/examples/collapsiblePanel.xhtml
===================================================================
--- trunk/examples/output-demo/src/main/webapp/examples/collapsiblePanel.xhtml 2011-01-26
18:34:44 UTC (rev 21242)
+++ trunk/examples/output-demo/src/main/webapp/examples/collapsiblePanel.xhtml 2011-01-26
18:42:49 UTC (rev 21243)
@@ -29,7 +29,7 @@
<pn:collapsiblePanel id="panel2" expanded="false"
switchType="ajax" toggleListener="#{collapsiblePanel.action}" >
<f:facet name="headerExpanded" >
- header exanded
+ header expanded
</f:facet>
<f:facet name="headerCollapsed" >
header collapsed
@@ -41,7 +41,7 @@
<pn:collapsiblePanel id="panel3" expanded="false"
switchType="client">
<f:facet name="headerExpanded" >
- header exanded
+ header expanded
</f:facet>
<f:facet name="headerCollapsed" >
header collapsed
Modified: trunk/examples/output-demo/src/main/webapp/examples/panelMenu.xhtml
===================================================================
--- trunk/examples/output-demo/src/main/webapp/examples/panelMenu.xhtml 2011-01-26
18:34:44 UTC (rev 21242)
+++ trunk/examples/output-demo/src/main/webapp/examples/panelMenu.xhtml 2011-01-26
18:42:49 UTC (rev 21243)
@@ -23,28 +23,49 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html
xmlns="http://www.w3.org/1999/xhtml"
-
xmlns:h="http://java.sun.com/jsf/html"
-
xmlns:f="http://java.sun.com/jsf/core"
-
xmlns:ui="http://java.sun.com/jsf/facelets"
-
xmlns:pn="http://richfaces.org/output">
+
xmlns:h="http://java.sun.com/jsf/html"
+
xmlns:f="http://java.sun.com/jsf/core"
+
xmlns:ui="http://java.sun.com/jsf/facelets"
+
xmlns:rich="http://richfaces.org/output">
<body>
<ui:composition template="/templates/template.xhtml">
- <ui:define name="scripts">
- <h:outputScript name="PanelMenu.js" />
- </ui:define>
+ <ui:define name="scripts">
+ </ui:define>
- <ui:define name="title">PANEL MENU JS Development</ui:define>
- <ui:define name="body_head">PANEL MENU JS
Development</ui:define>
+ <ui:define name="title">PANEL MENU JS Development</ui:define>
+ <ui:define name="body_head">PANEL MENU JS Development</ui:define>
- <ui:define name="body">
- <h:form id="f" style="border:blue solid thin;">
- <pn:panelMenu id="panelMenu">
- <!-- TODO -->
- </pn:panelMenu>
- </h:form>
- </ui:define>
+ <ui:define name="body">
+ <h:form id="f">
+
+ <rich:panelMenu id="panelMenu"
+ itemLeftIcon="grid"
+ groupLeftIconCollapsed="grid"
+ topGroupLeftIconCollapsed="grid"
+ topGroupLeftIconExpanded="chevronLeft"
+ topGroupLeftIconDisabled="disc"
+ itemLeftIconDisabled="triangleLeft"
+ topItemLeftIconDisabled="triangleUp"
+ topItemLeftIcon="triangleDown"
+ groupMode="client">
+ <rich:panelMenuGroup id="group1" label="Group 1"
disabled="true">
+ <rich:panelMenuItem id="item11" label="Item 1.1" />
+ <rich:panelMenuItem id="item12" label="Item 1.2" />
+ </rich:panelMenuGroup>
+ <rich:panelMenuItem id="item2" label="Item 2"
disabled="true" />
+ <rich:panelMenuItem id="item3" label="Item 3" />
+ <rich:panelMenuGroup id="group4" label="Group 4">
+ <rich:panelMenuItem id="item41" label="Item 4.1" />
+ <rich:panelMenuItem id="item42" label="Item 4.2"
disabled="true" />
+ <rich:panelMenuGroup id="group43" label="Group 4.1"
disabled="true">
+ <rich:panelMenuItem id="item431" label="Item 4.1.1" />
+ </rich:panelMenuGroup>
+ </rich:panelMenuGroup>
+ </rich:panelMenu>
+ </h:form>
+ </ui:define>
</ui:composition>
</body>
</html>
Modified: trunk/examples/output-demo/src/main/webapp/examples/tabPanel.xhtml
===================================================================
--- trunk/examples/output-demo/src/main/webapp/examples/tabPanel.xhtml 2011-01-26 18:34:44
UTC (rev 21242)
+++ trunk/examples/output-demo/src/main/webapp/examples/tabPanel.xhtml 2011-01-26 18:42:49
UTC (rev 21243)
@@ -19,6 +19,9 @@
<pn:tab header="tab1 header"
headerClassDisabled="myClass_02" onenter="alert('onenter
01')">
Content will be here. Content will be here. Content will be here.
Content will be here. Content will be here. Content will be here. Content will be here.
Content will be here. Content will be here. Content will be here. Content will be here.
Content will be here. Content will be here. Content will be here.
</pn:tab>
+ <pn:tab header="tab 1a (disabled) header"
disabled="true">
+ Disabled tab content
+ </pn:tab>
<pn:tab header="tab2 header"
onenter="alert('onenter 02')">
He he
</pn:tab>
Modified: trunk/examples/output-demo/src/main/webapp/examples/togglePanel-client.xhtml
===================================================================
---
trunk/examples/output-demo/src/main/webapp/examples/togglePanel-client.xhtml 2011-01-26
18:34:44 UTC (rev 21242)
+++
trunk/examples/output-demo/src/main/webapp/examples/togglePanel-client.xhtml 2011-01-26
18:42:49 UTC (rev 21243)
@@ -13,7 +13,7 @@
<ui:define name="body">
<h:form id="f">
- <pn:togglePanel id="panel" switchType="null"
lang="en">
+ <pn:togglePanel id="panel" switchType="client"
lang="en">
<pn:togglePanelItem name="name1">hello
name1</pn:togglePanelItem>
<pn:togglePanelItem name="name2">hello
name2</pn:togglePanelItem>
<pn:togglePanelItem name="name3">hello
name3</pn:togglePanelItem>
Modified: trunk/examples/output-demo/src/main/webapp/templates/template.xhtml
===================================================================
--- trunk/examples/output-demo/src/main/webapp/templates/template.xhtml 2011-01-26
18:34:44 UTC (rev 21242)
+++ trunk/examples/output-demo/src/main/webapp/templates/template.xhtml 2011-01-26
18:42:49 UTC (rev 21243)
@@ -61,16 +61,16 @@
<li>
<p>Examples</p>
<ul>
- <li><h:commandLink value="togglePanel"
action="togglePanel" /></li>
- <li><h:commandLink value="togglePanel
Ajax" action="togglePanel/ajax" /></li>
- <li><h:commandLink value="togglePanel
Client" action="togglePanel/client" /></li>
- <li><h:commandLink value="togglePanel
Server" action="togglePanel/server" /></li>
- <li><h:commandLink value="togglePanel
Mixed" action="togglePanel/mixed" /></li>
+ <li><h:link value="togglePanel"
outcome="togglePanel" /></li>
+ <li><h:link value="togglePanel Ajax"
outcome="togglePanel/ajax" /></li>
+ <li><h:link value="togglePanel Client"
outcome="togglePanel/client" /></li>
+ <li><h:link value="togglePanel Server"
outcome="togglePanel/server" /></li>
+ <li><h:link value="togglePanel Mixed"
outcome="togglePanel/mixed" /></li>
</ul>
<p>QUnit</p>
<ul>
- <li><h:commandLink value="togglePanel"
action="qunit/togglePanel" /></li>
- <li><h:commandLink
value="togglePanelItem" action="qunit/togglePanelItem"
/></li>
+ <li><h:link value="togglePanel"
outcome="qunit/togglePanel" /></li>
+ <li><h:link value="togglePanelItem"
outcome="qunit/togglePanelItem" /></li>
</ul>
</li>
</ul>
@@ -81,21 +81,21 @@
<li>
<p>Examples</p>
<ul>
- <li><h:commandLink value="accordion"
action="accordion" /></li>
+ <li><h:link value="accordion"
outcome="accordion" /></li>
</ul>
</li>
<li>
<p>QUnit</p>
<ul>
- <li><h:commandLink value="accordion"
action="qunit/accordion" /></li>
- <li><h:commandLink
value="accordionHeaders" action="qunit/accordionHeaders"
/></li>
+ <li><h:link value="accordion"
outcome="qunit/accordion" /></li>
+ <li><h:link value="accordionHeaders"
outcome="qunit/accordionHeaders" /></li>
</ul>
</li>
<li>
<p>Bugs</p>
<ul>
- <li><h:commandLink value="RF-9364"
action="RF-9364" /></li>
- <li><h:commandLink value="RF-9851"
action="RF-9851" /></li>
+ <li><h:link value="RF-9364"
outcome="RF-9364" /></li>
+ <li><h:link value="RF-9851"
outcome="RF-9851" /></li>
</ul>
</li>
</ul>
@@ -105,11 +105,11 @@
<li>
<p>Examples</p>
<ul>
- <li><h:commandLink value="Collapsible
Panel" action="collapsiblePanel" /></li>
+ <li><h:link value="Collapsible Panel"
outcome="collapsiblePanel" /></li>
</ul>
<p>QUnit</p>
<ul>
- <li><h:commandLink value="tabPanel"
action="qunit/tabPanel" /></li>
+ <li><h:link value="tabPanel"
outcome="qunit/tabPanel" /></li>
</ul>
</li>
</ul>
@@ -119,11 +119,11 @@
<li>
<p>Examples</p>
<ul>
- <li><h:commandLink value="Tab Panel"
action="tabPanel" /></li>
+ <li><h:link value="Tab Panel"
outcome="tabPanel" /></li>
</ul>
<p>QUnit</p>
<ul>
- <li><h:commandLink value="tabPanel"
action="qunit/tabPanel" /></li>
+ <li><h:link value="tabPanel"
outcome="qunit/tabPanel" /></li>
</ul>
</li>
</ul>
@@ -133,11 +133,11 @@
<li>
<p>Examples</p>
<ul>
- <li><h:commandLink value="Panel Menu"
action="panelMenu" /></li>
+ <li><h:link value="Panel Menu"
outcome="panelMenu" /></li>
</ul>
<p>QUnit</p>
<ul>
- <li><h:commandLink value="Panel Menu"
action="qunit/panelMenu" /></li>
+ <li><h:link value="Panel Menu"
outcome="qunit/panelMenu" /></li>
</ul>
</li>
</ul>
@@ -148,13 +148,13 @@
<p>Examples</p>
<ul>
<li>
- <h:commandLink value="Tooltip"
action="tooltip"/>
+ <h:link value="Tooltip"
outcome="tooltip"/>
</li>
</ul>
<p>QUnit</p>
<ul>
<li>
- <h:commandLink value="Tooltip"
action="qunit/tooltip"/>
+ <h:link value="Tooltip"
outcome="qunit/tooltip"/>
</li>
</ul>
</li>
@@ -166,7 +166,7 @@
<p>Examples</p>
<ul>
<li>
- <h:commandLink value="Toolbar"
action="toolbar"/>
+ <h:link value="Toolbar"
outcome="toolbar"/>
</li>
</ul>
</li>
@@ -178,7 +178,7 @@
<p>Examples</p>
<ul>
<li>
- <h:commandLink value="DropDown Menu"
action="dropDownMenu"/>
+ <h:link value="DropDown Menu"
outcome="dropDownMenu"/>
</li>
</ul>
</li>