Author: abelevich
Date: 2010-11-30 04:35:47 -0500 (Tue, 30 Nov 2010)
New Revision: 20226
Added:
trunk/examples/output-demo/src/main/webapp/examples/toolbar.xhtml
trunk/examples/output-demo/src/main/webapp/images/
trunk/examples/output-demo/src/main/webapp/images/GridSeparatorImage.gif
trunk/examples/output-demo/src/main/webapp/images/icons/
trunk/examples/output-demo/src/main/webapp/images/icons/arrow.png
trunk/examples/output-demo/src/main/webapp/images/icons/copy.gif
trunk/examples/output-demo/src/main/webapp/images/icons/create_doc.gif
trunk/examples/output-demo/src/main/webapp/images/icons/create_folder.gif
trunk/examples/output-demo/src/main/webapp/images/icons/cut.gif
trunk/examples/output-demo/src/main/webapp/images/icons/delete.gif
trunk/examples/output-demo/src/main/webapp/images/icons/edit.gif
trunk/examples/output-demo/src/main/webapp/images/icons/filter.gif
trunk/examples/output-demo/src/main/webapp/images/icons/find.gif
trunk/examples/output-demo/src/main/webapp/images/icons/ico_new_group.gif
trunk/examples/output-demo/src/main/webapp/images/icons/ico_new_item.gif
trunk/examples/output-demo/src/main/webapp/images/icons/open.gif
trunk/examples/output-demo/src/main/webapp/images/icons/paste.gif
trunk/examples/output-demo/src/main/webapp/images/icons/redo.gif
trunk/examples/output-demo/src/main/webapp/images/icons/reload.gif
trunk/examples/output-demo/src/main/webapp/images/icons/repeat.gif
trunk/examples/output-demo/src/main/webapp/images/icons/save.gif
trunk/examples/output-demo/src/main/webapp/images/icons/save_all.gif
trunk/examples/output-demo/src/main/webapp/images/icons/save_as.gif
trunk/examples/output-demo/src/main/webapp/images/icons/undo.gif
trunk/examples/output-demo/src/main/webapp/images/icons/verify.gif
Modified:
trunk/examples/output-demo/src/main/webapp/examples/togglePanel.xhtml
Log:
add toolbar sample
Modified: trunk/examples/output-demo/src/main/webapp/examples/togglePanel.xhtml
===================================================================
--- trunk/examples/output-demo/src/main/webapp/examples/togglePanel.xhtml 2010-11-30
09:16:10 UTC (rev 20225)
+++ trunk/examples/output-demo/src/main/webapp/examples/togglePanel.xhtml 2010-11-30
09:35:47 UTC (rev 20226)
@@ -27,6 +27,12 @@
Click me :) it is toggle control
</h:outputLink>
+ <h:outputLink>
+ <pn:toggleControl targetPanel="my_id"
targetItem="name1" event="click" />
+
+ Click me :) it another toggle control
+ </h:outputLink>
+
</h:form>
</ui:define>
</ui:composition>
Added: trunk/examples/output-demo/src/main/webapp/examples/toolbar.xhtml
===================================================================
--- trunk/examples/output-demo/src/main/webapp/examples/toolbar.xhtml
(rev 0)
+++ trunk/examples/output-demo/src/main/webapp/examples/toolbar.xhtml 2010-11-30 09:35:47
UTC (rev 20226)
@@ -0,0 +1,82 @@
+<!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:ui="http://java.sun.com/jsf/facelets"
+
xmlns:f="http://java.sun.com/jsf/core"
+
xmlns:h="http://java.sun.com/jsf/html"
+
xmlns:tb="http://richfaces.org/toolBar">
+ <h:head>
+ <title>ToolBar sample</title>
+ <style>
+ .pic {
+ margin-bottom: -4px;
+ margin-right: 2px;
+ }
+ </style>
+ </h:head>
+ <h:body>
+ <tb:toolBar height="45" itemSeparator="grid"
contentStyle="color:red;">
+ <f:facet name="itemSeparator">
+ ||
+ </f:facet>
+ <tb:toolBarGroup itemSeparator="line"
onitemclick="22">
+ <h:graphicImage value="/images/icons/create_doc.gif"
styleClass="pic"/>
+ <a href="sdsd">link 1</a> Text
+ <a href="sdsd 2">link 2</a>
+ <h:graphicImage value="/images/icons/create_folder.gif"
styleClass="pic" onclick="q1"/>
+ <h:graphicImage value="/images/icons/copy.gif"
styleClass="pic"/>
+ <a href="sdsd">link 3</a> Text
+ <a href="sdsd 2">link 4</a>
+ </tb:toolBarGroup>
+ <tb:toolBarGroup itemSeparator="none">
+ <h:graphicImage value="/images/icons/save.gif"
styleClass="pic" onclick="q2"/>
+ <h:graphicImage value="/images/icons/save.gif"
styleClass="pic" onclick="q2"/>
+ <h:graphicImage value="/images/icons/save.gif"
styleClass="pic" onclick="q2"/>
+ <h:graphicImage value="/images/icons/save.gif"
styleClass="pic" onclick="q2"/>
+ </tb:toolBarGroup>
+ <tb:toolBarGroup itemSeparator="line">
+ <h:graphicImage value="/images/icons/save.gif"
styleClass="pic" onclick="q2"/>
+ <h:graphicImage value="/images/icons/save.gif"
styleClass="pic" onclick="q2"/>
+ </tb:toolBarGroup>
+
+ <tb:toolBarGroup location="right"
itemSeparator="square">
+ <h:graphicImage value="/images/icons/find.gif"
styleClass="pic"/>
+ <h:graphicImage value="/images/icons/filter.gif"
styleClass="pic"/>
+ </tb:toolBarGroup>
+ </tb:toolBar>
+ <br/>
+ <tb:toolBar itemSeparator="grid">
+ <tb:toolBarGroup itemSeparator="line">
+ <h:graphicImage value="/images/icons/create_doc.gif"
styleClass="pic"/>
+ <h:graphicImage value="/images/icons/create_folder.gif"
styleClass="pic"/>
+ <h:graphicImage value="/images/icons/copy.gif"
styleClass="pic"/>
+ </tb:toolBarGroup>
+ <tb:toolBarGroup itemSeparator="disc">
+ <h:graphicImage value="/images/icons/save.gif"
styleClass="pic"/>
+ <h:graphicImage value="/images/icons/save_as.gif"
styleClass="pic"/>
+ <h:graphicImage value="/images/icons/save_all.gif"
styleClass="pic"/>
+ </tb:toolBarGroup>
+ <tb:toolBarGroup location="right"
itemSeparator="square">
+ <h:graphicImage value="/images/icons/find.gif"
styleClass="pic"/>
+ <h:graphicImage value="/images/icons/filter.gif"
styleClass="pic"/>
+ </tb:toolBarGroup>
+ </tb:toolBar>
+
+ <br/>
+ <tb:toolBar height="26" itemSeparator="grid">
+ <tb:toolBarGroup itemSeparator="line">
+ <h:graphicImage value="/images/icons/create_doc.gif"
styleClass="pic"/>
+ <h:graphicImage value="/images/icons/create_folder.gif"
styleClass="pic"/>
+ <h:graphicImage value="/images/icons/copy.gif"
styleClass="pic"/>
+ </tb:toolBarGroup>
+ <tb:toolBarGroup itemSeparator="disc">
+ <h:graphicImage value="/images/icons/save.gif"
styleClass="pic"/>
+ <h:graphicImage value="/images/icons/save_as.gif"
styleClass="pic"/>
+ <h:graphicImage value="/images/icons/save_all.gif"
styleClass="pic"/>
+ </tb:toolBarGroup>
+ <tb:toolBarGroup location="right"
itemSeparator="square">
+ <h:graphicImage value="/images/icons/find.gif"
styleClass="pic"/>
+ <h:graphicImage value="/images/icons/filter.gif"
styleClass="pic"/>
+ </tb:toolBarGroup>
+ </tb:toolBar>
+ </h:body>
+</html>
\ No newline at end of file
Added: trunk/examples/output-demo/src/main/webapp/images/GridSeparatorImage.gif
===================================================================
(Binary files differ)
Property changes on:
trunk/examples/output-demo/src/main/webapp/images/GridSeparatorImage.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/examples/output-demo/src/main/webapp/images/icons/arrow.png
===================================================================
(Binary files differ)
Property changes on: trunk/examples/output-demo/src/main/webapp/images/icons/arrow.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/examples/output-demo/src/main/webapp/images/icons/copy.gif
===================================================================
(Binary files differ)
Property changes on: trunk/examples/output-demo/src/main/webapp/images/icons/copy.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/examples/output-demo/src/main/webapp/images/icons/create_doc.gif
===================================================================
(Binary files differ)
Property changes on:
trunk/examples/output-demo/src/main/webapp/images/icons/create_doc.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/examples/output-demo/src/main/webapp/images/icons/create_folder.gif
===================================================================
(Binary files differ)
Property changes on:
trunk/examples/output-demo/src/main/webapp/images/icons/create_folder.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/examples/output-demo/src/main/webapp/images/icons/cut.gif
===================================================================
(Binary files differ)
Property changes on: trunk/examples/output-demo/src/main/webapp/images/icons/cut.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/examples/output-demo/src/main/webapp/images/icons/delete.gif
===================================================================
(Binary files differ)
Property changes on: trunk/examples/output-demo/src/main/webapp/images/icons/delete.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/examples/output-demo/src/main/webapp/images/icons/edit.gif
===================================================================
(Binary files differ)
Property changes on: trunk/examples/output-demo/src/main/webapp/images/icons/edit.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/examples/output-demo/src/main/webapp/images/icons/filter.gif
===================================================================
(Binary files differ)
Property changes on: trunk/examples/output-demo/src/main/webapp/images/icons/filter.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/examples/output-demo/src/main/webapp/images/icons/find.gif
===================================================================
(Binary files differ)
Property changes on: trunk/examples/output-demo/src/main/webapp/images/icons/find.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/examples/output-demo/src/main/webapp/images/icons/ico_new_group.gif
===================================================================
(Binary files differ)
Property changes on:
trunk/examples/output-demo/src/main/webapp/images/icons/ico_new_group.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/examples/output-demo/src/main/webapp/images/icons/ico_new_item.gif
===================================================================
(Binary files differ)
Property changes on:
trunk/examples/output-demo/src/main/webapp/images/icons/ico_new_item.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/examples/output-demo/src/main/webapp/images/icons/open.gif
===================================================================
(Binary files differ)
Property changes on: trunk/examples/output-demo/src/main/webapp/images/icons/open.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/examples/output-demo/src/main/webapp/images/icons/paste.gif
===================================================================
(Binary files differ)
Property changes on: trunk/examples/output-demo/src/main/webapp/images/icons/paste.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/examples/output-demo/src/main/webapp/images/icons/redo.gif
===================================================================
(Binary files differ)
Property changes on: trunk/examples/output-demo/src/main/webapp/images/icons/redo.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/examples/output-demo/src/main/webapp/images/icons/reload.gif
===================================================================
(Binary files differ)
Property changes on: trunk/examples/output-demo/src/main/webapp/images/icons/reload.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/examples/output-demo/src/main/webapp/images/icons/repeat.gif
===================================================================
(Binary files differ)
Property changes on: trunk/examples/output-demo/src/main/webapp/images/icons/repeat.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/examples/output-demo/src/main/webapp/images/icons/save.gif
===================================================================
(Binary files differ)
Property changes on: trunk/examples/output-demo/src/main/webapp/images/icons/save.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/examples/output-demo/src/main/webapp/images/icons/save_all.gif
===================================================================
(Binary files differ)
Property changes on: trunk/examples/output-demo/src/main/webapp/images/icons/save_all.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/examples/output-demo/src/main/webapp/images/icons/save_as.gif
===================================================================
(Binary files differ)
Property changes on: trunk/examples/output-demo/src/main/webapp/images/icons/save_as.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/examples/output-demo/src/main/webapp/images/icons/undo.gif
===================================================================
(Binary files differ)
Property changes on: trunk/examples/output-demo/src/main/webapp/images/icons/undo.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/examples/output-demo/src/main/webapp/images/icons/verify.gif
===================================================================
(Binary files differ)
Property changes on: trunk/examples/output-demo/src/main/webapp/images/icons/verify.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream