Author: ilya_shaikovsky
Date: 2007-09-03 07:09:06 -0400 (Mon, 03 Sep 2007)
New Revision: 2700
Added:
trunk/samples/richfaces-demo/src/main/webapp/richfaces/dataLists.xhtml
trunk/samples/richfaces-demo/src/main/webapp/richfaces/dataLists/
trunk/samples/richfaces-demo/src/main/webapp/richfaces/dataLists/examples/
trunk/samples/richfaces-demo/src/main/webapp/richfaces/dataLists/examples/lists.xhtml
trunk/samples/richfaces-demo/src/main/webapp/richfaces/dataLists/usage.xhtml
trunk/samples/richfaces-demo/src/main/webapp/richfaces/log.xhtml
trunk/samples/richfaces-demo/src/main/webapp/richfaces/log/
trunk/samples/richfaces-demo/src/main/webapp/richfaces/log/examples/
trunk/samples/richfaces-demo/src/main/webapp/richfaces/log/examples/log.xhtml
trunk/samples/richfaces-demo/src/main/webapp/richfaces/log/usage.xhtml
Modified:
trunk/samples/richfaces-demo/src/main/resources/org/richfaces/demo/common/components.properties
Log:
comming soon examples added.
Modified:
trunk/samples/richfaces-demo/src/main/resources/org/richfaces/demo/common/components.properties
===================================================================
---
trunk/samples/richfaces-demo/src/main/resources/org/richfaces/demo/common/components.properties 2007-09-03
11:08:13 UTC (rev 2699)
+++
trunk/samples/richfaces-demo/src/main/resources/org/richfaces/demo/common/components.properties 2007-09-03
11:09:06 UTC (rev 2700)
@@ -10,10 +10,10 @@
dataTable= richDataIterators, Data Table, /images/ico_DataTable.gif,
/images/cn_DataTable.gif,
RichFacesComponentsLibrary.html#dataTable,
jbossrichfaces/freezone/docs/tlddoc/rich/dataTable.html,
jbossrichfaces/freezone/docs/apidoc/org/richfaces/component/UIDataTable.html,
/richfaces/dataTable.jsf
column= richDataIterators, Column, /images/ico_DataTable.gif,
/images/cn_Column.gif, RichFacesComponentsLibrary.html#column,
jbossrichfaces/freezone/docs/tlddoc/rich/column.html,
jbossrichfaces/freezone/docs/apidoc/org/richfaces/component/UIColumn.html,
/richfaces/dataTable.jsf
columnGroup= richDataIterators, Column Group, /images/ico_DataTable.gif,
/images/cn_ColumnGroup.gif,
RichFacesComponentsLibrary.html#columnGroup,
jbossrichfaces/freezone/docs/tlddoc/rich/columnGroup.html,
jbossrichfaces/freezone/docs/apidoc/org/richfaces/component/UIColumnGroup.html,
/richfaces/dataTable.jsf
-dataDefinitionList= richDataIterators, Data Definition List,
/images/ico_DataTable.gif, /images/cn_DataDefinitionList.gif,
RichFacesComponentsLibrary.html#dataDefinitionList,
jbossrichfaces/freezone/docs/tlddoc/rich/dataDefinitionList.html,
jbossrichfaces/freezone/docs/apidoc/org/richfaces/component/UIDataDefinitionList.html,
/richfaces/comingSoon.jsf
+dataDefinitionList= richDataIterators, Data Definition List,
/images/ico_DataTable.gif, /images/cn_DataDefinitionList.gif,
RichFacesComponentsLibrary.html#dataDefinitionList,
jbossrichfaces/freezone/docs/tlddoc/rich/dataDefinitionList.html,
jbossrichfaces/freezone/docs/apidoc/org/richfaces/component/UIDataDefinitionList.html,
/richfaces/dataLists.jsf
dataGrid= richDataIterators, Data Grid, /images/ico_DataTable.gif,
/images/cn_DataGrid.gif,
RichFacesComponentsLibrary.html#dataGrid,
jbossrichfaces/freezone/docs/tlddoc/rich/dataGrid.html,
jbossrichfaces/freezone/docs/apidoc/org/richfaces/component/UIDataGrid.html,
/richfaces/dataGrid.jsf
-dataList= richDataIterators, Data List,
/images/ico_DataTable.gif, /images/cn_DataList.gif,
RichFacesComponentsLibrary.html#dataList,
jbossrichfaces/freezone/docs/tlddoc/rich/dataList.html,
jbossrichfaces/freezone/docs/apidoc/org/richfaces/component/UIDataList.html,
/richfaces/comingSoon.jsf
-dataOrderedList= richDataIterators, Data Ordered List, /images/ico_DataTable.gif,
/images/cn_DataOrderedList.gif,
RichFacesComponentsLibrary.html#dataOrderedList,
jbossrichfaces/freezone/docs/tlddoc/rich/dataOrderedList.html,
jbossrichfaces/freezone/docs/apidoc/org/richfaces/taglib/DataOrderedListTag.html,
/richfaces/comingSoon.jsf
+dataList= richDataIterators, Data List,
/images/ico_DataTable.gif, /images/cn_DataList.gif,
RichFacesComponentsLibrary.html#dataList,
jbossrichfaces/freezone/docs/tlddoc/rich/dataList.html,
jbossrichfaces/freezone/docs/apidoc/org/richfaces/component/UIDataList.html,
/richfaces/dataLists.jsf
+dataOrderedList= richDataIterators, Data Ordered List, /images/ico_DataTable.gif,
/images/cn_DataOrderedList.gif,
RichFacesComponentsLibrary.html#dataOrderedList,
jbossrichfaces/freezone/docs/tlddoc/rich/dataOrderedList.html,
jbossrichfaces/freezone/docs/apidoc/org/richfaces/taglib/DataOrderedListTag.html,
/richfaces/dataLists.jsf
gmap= richMisc, Google Map, /images/ico_GoogleMap.gif,
/images/cn_GoogleMap.gif, RichFacesComponentsLibrary.html#gmap,
jbossrichfaces/freezone/docs/tlddoc/rich/gmap.html,
jbossrichfaces/freezone/docs/apidoc/org/richfaces/component/UIGmap.html,
/richfaces/gmap.jsf
paint2d= richOutputs, Paint2D, /images/ico_Paint2D.gif,
/images/cn_Paint2D.gif,
RichFacesComponentsLibrary.html#paint2D,
jbossrichfaces/freezone/docs/tlddoc/rich/paint2D.html,
jbossrichfaces/freezone/docs/apidoc/org/richfaces/component/UIPaint2D.html,
/richfaces/paint2D.jsf
toolBar= richOutputs, Tool Bar, /images/ico_ToolBar.gif,
/images/cn_ToolBar.gif,
RichFacesComponentsLibrary.html#toolBar,
jbossrichfaces/freezone/docs/tlddoc/rich/toolBar.html,
jbossrichfaces/freezone/docs/apidoc/org/richfaces/component/UIToolBar.html,
/richfaces/toolBar.jsf
@@ -60,7 +60,7 @@
outputPanel= ajaxOutput, Output Panel, /images/ico_common.gif,
/images/cn_OutputPanel.gif,
RichFacesComponentsLibrary.html#outputPanel,
jbossajax4jsf/freezone/docs/tlddoc/a4j/outputPanel.html,
jbossajax4jsf/freezone/docs/apidoc/org/ajax4jsf/ajax/UIAjaxOutputPanel.html,
/richfaces/outputPanel.jsf
repeat= richDataIterators, Repeat, /images/ico_common.gif,
/images/cn_Repeat.gif,
RichFacesComponentsLibrary.html#repeat,
jbossajax4jsf/freezone/docs/tlddoc/a4j/repeat.html,
jbossajax4jsf/freezone/docs/apidoc/org/ajax4jsf/ajax/repeat/UIRepeat.html,
/richfaces/repeat.jsf
htmlCommandLink= ajaxMisc, Html Command Link, /images/ico_common.gif,
/images/cn_HtmlCommandLink.gif,
RichFacesComponentsLibrary.html#htmlCommandLink,
jbossajax4jsf/freezone/docs/tlddoc/a4j/htmlCommandLink.html,
jbossajax4jsf/freezone/docs/apidoc/org/ajax4jsf/renderkit/html/HtmlCommandLinkRenderer.html,
/richfaces/comingSoon.jsf
-log= ajaxMisc, Log, /images/ico_common.gif,
/images/cn_Log.gif,
RichFacesComponentsLibrary.html#log,
jbossajax4jsf/freezone/docs/tlddoc/a4j/log.html,
jbossajax4jsf/freezone/docs/apidoc/org/ajax4jsf/ajax/UIAjaxLog.html,
/richfaces/comingSoon.jsf
+log= ajaxMisc, Log, /images/ico_common.gif,
/images/cn_Log.gif,
RichFacesComponentsLibrary.html#log,
jbossajax4jsf/freezone/docs/tlddoc/a4j/log.html,
jbossajax4jsf/freezone/docs/apidoc/org/ajax4jsf/ajax/UIAjaxLog.html,
/richfaces/log.jsf
page= ajaxMisc, Ajax Page, /images/ico_common.gif,
/images/cn_AjaxPage.gif,
RichFacesComponentsLibrary.html#page,
jbossajax4jsf/freezone/docs/tlddoc/a4j/page.html,
jbossajax4jsf/freezone/docs/apidoc/org/ajax4jsf/ajax/UIAjaxRegion.html,
/richfaces/comingSoon.jsf
portlet= ajaxMisc, Ajax Portlet, /images/ico_common.gif,
/images/cn_AjaxPortlet.gif,
RichFacesComponentsLibrary.html#portlet,
jbossajax4jsf/freezone/docs/tlddoc/a4j/portlet.html,
jbossajax4jsf/freezone/docs/apidoc/org/ajax4jsf/ajax/UIPortlet.html,
/richfaces/comingSoon.jsf
effect= richMisc, Effect, /images/ico_common.gif,
/images/cn_Effect.gif, ArchitectureOverview.html,
jbossrichfaces/freezone/docs/tlddoc/overview-summary.html,
jbossrichfaces/freezone/docs/apidoc/overview-summary.html,
/richfaces/effect.jsf
Added:
trunk/samples/richfaces-demo/src/main/webapp/richfaces/dataLists/examples/lists.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/dataLists/examples/lists.xhtml
(rev 0)
+++
trunk/samples/richfaces-demo/src/main/webapp/richfaces/dataLists/examples/lists.xhtml 2007-09-03
11:09:06 UTC (rev 2700)
@@ -0,0 +1,24 @@
+<ui:composition
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:a4j="http://richfaces.org/a4j"
+
xmlns:rich="http://richfaces.org/rich">
+
+<style>
+.label{
+font-weight:bold;
+}
+</style>
+ <h:form>
+ <rich:dataList var="car"
value="#{dataTableScrollerBean.allCars}" rows="10">
+ <h:outputText value="#{car.make} #{car.model}"/><br/>
+ <h:outputText value="Price:"
styleClass="label"></h:outputText>
+ <h:outputText value="#{car.price} " />
+ <h:outputText value="Mileage:"
styleClass="label"></h:outputText>
+ <h:outputText value="#{car.mileage} " />
+ <h:outputText value="VIN:"
styleClass="label"></h:outputText>
+ <h:outputText value="#{car.vin}" />
+ </rich:dataList>
+ </h:form>
+</ui:composition>
\ No newline at end of file
Added: trunk/samples/richfaces-demo/src/main/webapp/richfaces/dataLists/usage.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/dataLists/usage.xhtml
(rev 0)
+++
trunk/samples/richfaces-demo/src/main/webapp/richfaces/dataLists/usage.xhtml 2007-09-03
11:09:06 UTC (rev 2700)
@@ -0,0 +1,32 @@
+<!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:h="http://java.sun.com/jsf/html"
+
xmlns:f="http://java.sun.com/jsf/core"
+
xmlns:a4j="http://richfaces.org/a4j"
+
xmlns:rich="http://richfaces.org/rich">
+ <ui:composition template="/templates/component-sample.xhtml">
+ <ui:define name="sample">
+
+
+
+ <p>Data Lists components allows to generate DL, DT and DD lists using lists
+ from the model bean.
+ <br />
+ The folowing example shows the dataList component in use. Two another comopnents
+ has the same usage.
+ </p>
+
+
+ <div class="sample-container" >
+
+ <ui:include src="/richfaces/dataLists/examples/lists.xhtml"/>
+ <ui:include src="/templates/include/sourceview.xhtml">
+ <ui:param name="sourcepath"
value="/richfaces/dataLists/examples/lists.xhtml"/>
+ </ui:include>
+
+ </div>
+ </ui:define>
+
+ </ui:composition>
+</html>
Added: trunk/samples/richfaces-demo/src/main/webapp/richfaces/dataLists.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/dataLists.xhtml
(rev 0)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/dataLists.xhtml 2007-09-03
11:09:06 UTC (rev 2700)
@@ -0,0 +1,20 @@
+<!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:h="http://java.sun.com/jsf/html"
+
xmlns:f="http://java.sun.com/jsf/core"
+
xmlns:rich="http://richfaces.org/rich">
+<ui:composition template="/templates/main.xhtml">
+ <ui:define name="title">RichFaces - Open Source Rich JSF Components -
Data Lists</ui:define>
+ <ui:define name="body">
+ <rich:tabPanel switchType="server"
value="#{componentNavigator.activeTab}" styleClass="top_tab"
contentClass="content_tab" headerClass="header_tabs_class"
inactiveTabClass="inactive_tab" activeTabClass="active_tab">
+ <rich:tab label="Usage">
+ <ui:include src="/richfaces/dataLists/usage.xhtml"/>
+ </rich:tab>
+ <ui:include src="/templates/include/tagInfo.xhtml">
+ <ui:param name="path" value="rich/dataLists"/>
+ </ui:include>
+ </rich:tabPanel>
+ </ui:define>
+</ui:composition>
+</html>
Added: trunk/samples/richfaces-demo/src/main/webapp/richfaces/log/examples/log.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/log/examples/log.xhtml
(rev 0)
+++
trunk/samples/richfaces-demo/src/main/webapp/richfaces/log/examples/log.xhtml 2007-09-03
11:09:06 UTC (rev 2700)
@@ -0,0 +1,20 @@
+<ui:composition
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:a4j="http://richfaces.org/a4j"
+
xmlns:rich="http://richfaces.org/rich">
+
+ <p>There you can explore debug info for Simple Repeater example:</p>
+ <p>Type some symbols to trigger the requests</p>
+ <h:form>
+ <h:panelGrid columns="1">
+ <h:inputText value="#{userBean.name}">
+ <a4j:support event="onkeyup" ignoreDupResponses="true"
+ requestDelay="2000" ajaxSingle="true"
reRender="repeater" />
+ </h:inputText>
+ <h:outputText value="Repeated Value: #{userBean.name}"
id="repeater" />
+ </h:panelGrid>
+ <a4j:log popup="false" level="ALL" style="width: 800px;
height: 300px;"></a4j:log>
+ </h:form>
+</ui:composition>
\ No newline at end of file
Added: trunk/samples/richfaces-demo/src/main/webapp/richfaces/log/usage.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/log/usage.xhtml
(rev 0)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/log/usage.xhtml 2007-09-03
11:09:06 UTC (rev 2700)
@@ -0,0 +1,30 @@
+<!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:h="http://java.sun.com/jsf/html"
+
xmlns:f="http://java.sun.com/jsf/core"
+
xmlns:a4j="http://richfaces.org/a4j"
+
xmlns:rich="http://richfaces.org/rich">
+ <ui:composition template="/templates/component-sample.xhtml">
+ <ui:define name="sample">
+ <p>
+ Log component allows the developer to inspect client side activities
+ during Ajax request. It shows reuqest data, response data, DOM
+ tree changes on update and other usefull debug information.
+ </p>
+ <p>
+ Debug info can be rendered on main page or as separate popup window.
+ </p>
+
+
+ <div class="sample-container">
+ <ui:include src="/richfaces/log/examples/log.xhtml"/>
+ <ui:include src="/templates/include/sourceview.xhtml">
+ <ui:param name="sourcepath"
value="/richfaces/log/examples/log.xhtml"/>
+ <ui:param name="openlabel" value="View Page Source" />
+ </ui:include>
+ </div>
+ </ui:define>
+
+ </ui:composition>
+</html>
Added: trunk/samples/richfaces-demo/src/main/webapp/richfaces/log.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/log.xhtml
(rev 0)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/log.xhtml 2007-09-03 11:09:06
UTC (rev 2700)
@@ -0,0 +1,20 @@
+<!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:h="http://java.sun.com/jsf/html"
+
xmlns:f="http://java.sun.com/jsf/core"
+
xmlns:rich="http://richfaces.org/rich">
+<ui:composition template="/templates/main.xhtml">
+ <ui:define name="title">RichFaces - Open Source Rich JSF Components -
Log component</ui:define>
+ <ui:define name="body">
+ <rich:tabPanel switchType="server" styleClass="top_tab"
contentClass="content_tab" headerClass="header_tabs_class"
inactiveTabClass="inactive_tab" activeTabClass="active_tab">
+ <rich:tab label="Usage">
+ <ui:include src="/richfaces/log/usage.xhtml"/>
+ </rich:tab>
+ <ui:include src="/templates/include/tagInfo.xhtml">
+ <ui:param name="path" value="a4j/log"/>
+ </ui:include>
+ </rich:tabPanel>
+ </ui:define>
+</ui:composition>
+</html>