[richfaces-svn-commits] JBoss Rich Faces SVN: r2028 - in trunk/samples/richfaces-demo/src/main/webapp/richfaces: keepAlive and 4 other directories.

richfaces-svn-commits at lists.jboss.org richfaces-svn-commits at lists.jboss.org
Thu Aug 2 16:05:50 EDT 2007


Author: SergeySmirnov
Date: 2007-08-02 16:05:50 -0400 (Thu, 02 Aug 2007)
New Revision: 2028

Added:
   trunk/samples/richfaces-demo/src/main/webapp/richfaces/script.xhtml
   trunk/samples/richfaces-demo/src/main/webapp/richfaces/script/
   trunk/samples/richfaces-demo/src/main/webapp/richfaces/script/source/
   trunk/samples/richfaces-demo/src/main/webapp/richfaces/script/source/usage.html
   trunk/samples/richfaces-demo/src/main/webapp/richfaces/script/source/usage.xhtml
   trunk/samples/richfaces-demo/src/main/webapp/richfaces/script/usage.xhtml
   trunk/samples/richfaces-demo/src/main/webapp/richfaces/style.xhtml
   trunk/samples/richfaces-demo/src/main/webapp/richfaces/style/
   trunk/samples/richfaces-demo/src/main/webapp/richfaces/style/source/
   trunk/samples/richfaces-demo/src/main/webapp/richfaces/style/source/usage.html
   trunk/samples/richfaces-demo/src/main/webapp/richfaces/style/source/usage.xhtml
   trunk/samples/richfaces-demo/src/main/webapp/richfaces/style/usage.xhtml
Modified:
   trunk/samples/richfaces-demo/src/main/webapp/richfaces/keepAlive/usage.xhtml
Log:


Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/keepAlive/usage.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/keepAlive/usage.xhtml	2007-08-02 19:35:23 UTC (rev 2027)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/keepAlive/usage.xhtml	2007-08-02 20:05:50 UTC (rev 2028)
@@ -43,7 +43,7 @@
 				<h:panelGrid columns="2" width="100%" columnClasses="pcolumn">
 
 					<f:verbatim>
-						This example will not work properly. The expression for 'enabled' attribute
+						This example <b>will not work</b> as expected. The expression for 'enabled' attribute
 						equals true only after UPDATE model phase when the rsBean properties are
 						updated with submitted values. So, the component is rendered as enabled
 						on the RENDER RESPONSE phase.<br />
@@ -56,7 +56,7 @@
 					</f:verbatim>				
 
 					<f:verbatim>
-						This example will work like expected. The code is almost the same as for
+						This example will work properly. The code is almost the same as for
 						example on the left. Used managed been is based on the same class. The only
 						difference is <b>a4j:keepAlive beanName="rsBean2"</b>. This statment
 						declares to keep the value of the rsBean2 between the Ajax requests.<br/>

Added: trunk/samples/richfaces-demo/src/main/webapp/richfaces/script/source/usage.html
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/script/source/usage.html	                        (rev 0)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/script/source/usage.html	2007-08-02 20:05:50 UTC (rev 2028)
@@ -0,0 +1 @@
+TODO: source should be added
\ No newline at end of file

Added: trunk/samples/richfaces-demo/src/main/webapp/richfaces/script/source/usage.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/script/source/usage.xhtml	                        (rev 0)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/script/source/usage.xhtml	2007-08-02 20:05:50 UTC (rev 2028)
@@ -0,0 +1 @@
+x
\ No newline at end of file

Added: trunk/samples/richfaces-demo/src/main/webapp/richfaces/script/usage.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/script/usage.xhtml	                        (rev 0)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/script/usage.xhtml	2007-08-02 20:05:50 UTC (rev 2028)
@@ -0,0 +1,23 @@
+<!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.ajax4jsf.org/rich">
+	<ui:composition template="/templates/component-sample.xhtml">
+		<ui:define name="sample">
+			
+			<p>
+			</p>
+			
+			<div class="sample-container" >
+			</div>
+			
+		</ui:define>
+		<ui:define name="sources">
+				Here is a fragment of page sources for the given example:
+				<iframe src="${facesContext.externalContext.requestContextPath}/richfaces/script/source/usage.html" class="source_frame"/>
+		</ui:define>
+	</ui:composition>
+</html>

Added: trunk/samples/richfaces-demo/src/main/webapp/richfaces/script.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/script.xhtml	                        (rev 0)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/script.xhtml	2007-08-02 20:05:50 UTC (rev 2028)
@@ -0,0 +1,17 @@
+<!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 - Load Script</ui:define>
+	<ui:define name="body">
+		<rich:tabPanel switchType="server" styleClass="top_tab" contentClass="content_tab" inactiveTabClass="inactive_tab" activeTabClass="active_tab">
+			<rich:tab label="Usage">
+				<ui:include src="/richfaces/script/usage.xhtml"/>
+			</rich:tab>			
+		</rich:tabPanel>
+	</ui:define>
+</ui:composition>
+</html>

Added: trunk/samples/richfaces-demo/src/main/webapp/richfaces/style/source/usage.html
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/style/source/usage.html	                        (rev 0)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/style/source/usage.html	2007-08-02 20:05:50 UTC (rev 2028)
@@ -0,0 +1 @@
+TODO: source should be added
\ No newline at end of file

Added: trunk/samples/richfaces-demo/src/main/webapp/richfaces/style/source/usage.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/style/source/usage.xhtml	                        (rev 0)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/style/source/usage.xhtml	2007-08-02 20:05:50 UTC (rev 2028)
@@ -0,0 +1 @@
+x
\ No newline at end of file

Added: trunk/samples/richfaces-demo/src/main/webapp/richfaces/style/usage.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/style/usage.xhtml	                        (rev 0)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/style/usage.xhtml	2007-08-02 20:05:50 UTC (rev 2028)
@@ -0,0 +1,23 @@
+<!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.ajax4jsf.org/rich">
+	<ui:composition template="/templates/component-sample.xhtml">
+		<ui:define name="sample">
+			
+			<p>
+			</p>
+			
+			<div class="sample-container" >
+			</div>
+			
+		</ui:define>
+		<ui:define name="sources">
+				Here is a fragment of page sources for the given example:
+				<iframe src="${facesContext.externalContext.requestContextPath}/richfaces/style/source/usage.html" class="source_frame"/>
+		</ui:define>
+	</ui:composition>
+</html>

Added: trunk/samples/richfaces-demo/src/main/webapp/richfaces/style.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/style.xhtml	                        (rev 0)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/style.xhtml	2007-08-02 20:05:50 UTC (rev 2028)
@@ -0,0 +1,17 @@
+<!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 - Load Style</ui:define>
+	<ui:define name="body">
+		<rich:tabPanel switchType="server" styleClass="top_tab" contentClass="content_tab" inactiveTabClass="inactive_tab" activeTabClass="active_tab">
+			<rich:tab label="Usage">
+				<ui:include src="/richfaces/style/usage.xhtml"/>
+			</rich:tab>			
+		</rich:tabPanel>
+	</ui:define>
+</ui:composition>
+</html>




More information about the richfaces-svn-commits mailing list