Author: SergeySmirnov
Date: 2007-07-27 12:05:46 -0400 (Fri, 27 Jul 2007)
New Revision: 1901
Added:
trunk/samples/richfaces-demo/src/main/webapp/images/cn_jsFunction.gif
trunk/samples/richfaces-demo/src/main/webapp/richfaces/jsFunction.xhtml
Modified:
trunk/samples/richfaces-demo/src/main/webapp/richfaces/ajaxAttributes/usage.xhtml
trunk/samples/richfaces-demo/src/main/webapp/richfaces/commandButton.xhtml
trunk/samples/richfaces-demo/src/main/webapp/richfaces/commandButton/usage.xhtml
trunk/samples/richfaces-demo/src/main/webapp/richfaces/commandLink.xhtml
trunk/samples/richfaces-demo/src/main/webapp/richfaces/commandLink/usage.xhtml
Log:
demos added
Copied: trunk/samples/richfaces-demo/src/main/webapp/images/cn_jsFunction.gif (from rev
1874, trunk/samples/richfaces-demo/src/main/webapp/images/cn_javascript_function.gif)
===================================================================
(Binary files differ)
Property changes on:
trunk/samples/richfaces-demo/src/main/webapp/images/cn_jsFunction.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Modified:
trunk/samples/richfaces-demo/src/main/webapp/richfaces/ajaxAttributes/usage.xhtml
===================================================================
---
trunk/samples/richfaces-demo/src/main/webapp/richfaces/ajaxAttributes/usage.xhtml 2007-07-27
16:04:53 UTC (rev 1900)
+++
trunk/samples/richfaces-demo/src/main/webapp/richfaces/ajaxAttributes/usage.xhtml 2007-07-27
16:05:46 UTC (rev 1901)
@@ -239,8 +239,7 @@
</p>
<div class="esample">
<pre>
- <a4j:commandButton value="Update"
data="<span>#</span>{userBean.name}"
oncomplete="showTheName(data.name)" />
-</h:inputText>
+<a4j:commandButton value="Update"
data="<span>#</span>{userBean.name}"
oncomplete="showTheName(data.name)" />
</pre>
</div>
<p>
Modified:
trunk/samples/richfaces-demo/src/main/webapp/richfaces/commandButton/usage.xhtml
===================================================================
---
trunk/samples/richfaces-demo/src/main/webapp/richfaces/commandButton/usage.xhtml 2007-07-27
16:04:53 UTC (rev 1900)
+++
trunk/samples/richfaces-demo/src/main/webapp/richfaces/commandButton/usage.xhtml 2007-07-27
16:05:46 UTC (rev 1901)
@@ -21,7 +21,7 @@
</p>
<div class="sample-container" >
- <rich:separator width="1" />
+ <rich:separator height="1" />
<a4j:form>
<h:panelGrid columns="3">
@@ -36,7 +36,7 @@
<h:outputText value="!" rendered="#{not empty
userBean.name}" />
</h:panelGroup>
- <rich:separator width="1" style="padding-top:10px" />
+ <rich:separator height="1" style="padding-top:10px" />
</div>
<p>
For additional information about attributes of this compponent read
Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/commandButton.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/commandButton.xhtml 2007-07-27
16:04:53 UTC (rev 1900)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/commandButton.xhtml 2007-07-27
16:05:46 UTC (rev 1901)
@@ -5,7 +5,7 @@
xmlns:f="http://java.sun.com/jsf/core"
xmlns:rich="http://richfaces.ajax4jsf.org/rich">
<ui:composition template="/templates/main.xhtml">
- <ui:define name="title">RichFaces - Open Source Rich JSF Components -
Ajax Form</ui:define>
+ <ui:define name="title">RichFaces - Open Source Rich JSF Components -
Ajax Button</ui:define>
<ui:define name="body">
<rich:tabPanel switchType="server"
value="#{componentNavigator.activeTab}" styleClass="top_tab"
contentClass="content_tab" inactiveTabClass="inactive_tab"
activeTabClass="active_tab">
<rich:tab label="Usage">
Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/commandLink/usage.xhtml
===================================================================
---
trunk/samples/richfaces-demo/src/main/webapp/richfaces/commandLink/usage.xhtml 2007-07-27
16:04:53 UTC (rev 1900)
+++
trunk/samples/richfaces-demo/src/main/webapp/richfaces/commandLink/usage.xhtml 2007-07-27
16:05:46 UTC (rev 1901)
@@ -21,7 +21,7 @@
</p>
<div class="sample-container" >
- <rich:separator width="1" />
+ <rich:separator height="1" />
<a4j:form>
<h:panelGrid columns="3">
@@ -38,7 +38,7 @@
<h:outputText value="!" rendered="#{not empty
userBean.name}" />
</h:panelGroup>
- <rich:separator width="1" style="padding-top:10px" />
+ <rich:separator height="1" style="padding-top:10px" />
</div>
<p>
For additional information about attributes of this compponent read
@@ -50,7 +50,7 @@
</ui:define>
<ui:define name="sources">
Here is a fragment of page sources for the given example:
- <iframe
src="${facesContext.externalContext.requestContextPath}/richfaces/commandButton/source/usage.html"
class="source_frame"/>
+ <iframe
src="${facesContext.externalContext.requestContextPath}/richfaces/commandLink/source/usage.html"
class="source_frame"/>
</ui:define>
</ui:composition>
</html>
Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/commandLink.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/commandLink.xhtml 2007-07-27
16:04:53 UTC (rev 1900)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/commandLink.xhtml 2007-07-27
16:05:46 UTC (rev 1901)
@@ -5,7 +5,7 @@
xmlns:f="http://java.sun.com/jsf/core"
xmlns:rich="http://richfaces.ajax4jsf.org/rich">
<ui:composition template="/templates/main.xhtml">
- <ui:define name="title">RichFaces - Open Source Rich JSF Components -
Ajax Form</ui:define>
+ <ui:define name="title">RichFaces - Open Source Rich JSF Components -
Ajax Link</ui:define>
<ui:define name="body">
<rich:tabPanel switchType="server"
value="#{componentNavigator.activeTab}" styleClass="top_tab"
contentClass="content_tab" inactiveTabClass="inactive_tab"
activeTabClass="active_tab">
<rich:tab label="Usage">
Added: trunk/samples/richfaces-demo/src/main/webapp/richfaces/jsFunction.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/jsFunction.xhtml
(rev 0)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/jsFunction.xhtml 2007-07-27
16:05:46 UTC (rev 1901)
@@ -0,0 +1,14 @@
+<!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.ajax4jsf.org/rich">
+<ui:composition template="/templates/main.xhtml">
+ <ui:define name="title">RichFaces - Open Source Rich JSF Components -
Ajax JS Function</ui:define>
+ <ui:define name="body">
+ <ui:include src="/richfaces/jsFunction/usage.xhtml"/>
+
+ </ui:define>
+</ui:composition>
+</html>