[richfaces-svn-commits] JBoss Rich Faces SVN: r13694 - in trunk/samples/richfaces-demo/src/main: resources/org/richfaces/demo/common and 3 other directories.

richfaces-svn-commits at lists.jboss.org richfaces-svn-commits at lists.jboss.org
Mon Apr 20 09:48:22 EDT 2009


Author: ilya_shaikovsky
Date: 2009-04-20 09:48:22 -0400 (Mon, 20 Apr 2009)
New Revision: 13694

Modified:
   trunk/samples/richfaces-demo/src/main/java/org/richfaces/demo/layout/Bean.java
   trunk/samples/richfaces-demo/src/main/resources/org/richfaces/demo/common/components.properties
   trunk/samples/richfaces-demo/src/main/webapp/richfaces/calendar/examples/functions.xhtml
   trunk/samples/richfaces-demo/src/main/webapp/richfaces/colorPicker/usage/sample.xhtml
   trunk/samples/richfaces-demo/src/main/webapp/richfaces/layouts/usage.xhtml
Log:
layouts demo draft finished.

Modified: trunk/samples/richfaces-demo/src/main/java/org/richfaces/demo/layout/Bean.java
===================================================================
--- trunk/samples/richfaces-demo/src/main/java/org/richfaces/demo/layout/Bean.java	2009-04-20 13:29:19 UTC (rev 13693)
+++ trunk/samples/richfaces-demo/src/main/java/org/richfaces/demo/layout/Bean.java	2009-04-20 13:48:22 UTC (rev 13694)
@@ -21,9 +21,9 @@
 	
 	private String theme = "simple";
 	
-	private int width=960;
+	private int width=1024;
 	
-	private int sidebarWidth=260;
+	private int sidebarWidth=200;
 	
 	/**
 	 * @return the position

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	2009-04-20 13:29:19 UTC (rev 13693)
+++ trunk/samples/richfaces-demo/src/main/resources/org/richfaces/demo/common/components.properties	2009-04-20 13:48:22 UTC (rev 13694)
@@ -92,4 +92,4 @@
 editor=richInputs,    Editor,           /images/ico_Editor.gif,              /images/cn_Editor.gif,                editor.html,                                          jbossrichfaces/freezone/docs/tlddoc/rich/editor.html,          jbossrichfaces/freezone/docs/apidoc/org/richfaces/component/UIEditor.html,                  /richfaces/editor.jsf
 queue=ajaxSupport,    Queue,           /images/ico_common.gif,              /images/cn_Queue.gif,                Queue.html,                                          jbossrichfaces/freezone/docs/tlddoc/rich/queue.html,          jbossrichfaces/freezone/docs/apidoc/org/richfaces/component/UIQueue.html,                  /richfaces/queue.jsf
 colorPicker=    richInputs, Color Picker,           /images/ico_ColorPicker.gif,              /images/cn_ColorPicker.gif,                ColorPicker.html,                                          jbossrichfaces/freezone/docs/tlddoc/rich/colorPicker.html,          jbossrichfaces/freezone/docs/apidoc/org/richfaces/component/UIColorPicker.html,                  /richfaces/colorPicker.jsf, new
-layouts=richMisc, Layouts,           /images/ico_Layouts.gif,              /images/cn_Layouts.gif,                Layouts.html,                                          jbossrichfaces/freezone/docs/tlddoc/rich/Page.html,          jbossrichfaces/freezone/docs/apidoc/org/richfaces/component/UIPage.html,                  /richfaces/layouts.jsf, new
\ No newline at end of file
+layouts=richMisc, Semantic Layouts,           /images/ico_Layouts.gif,              /images/cn_Layouts.gif,                Layouts.html,                                          jbossrichfaces/freezone/docs/tlddoc/rich/Page.html,          jbossrichfaces/freezone/docs/apidoc/org/richfaces/component/UIPage.html,                  /richfaces/layouts.jsf, new
\ No newline at end of file

Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/calendar/examples/functions.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/calendar/examples/functions.xhtml	2009-04-20 13:29:19 UTC (rev 13693)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/calendar/examples/functions.xhtml	2009-04-20 13:48:22 UTC (rev 13694)
@@ -11,6 +11,7 @@
 		}
 		.weekendBold{
 			font-weight:bold;
+			font-style: italic;
 		}
 		
 	</style>

Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/colorPicker/usage/sample.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/colorPicker/usage/sample.xhtml	2009-04-20 13:29:19 UTC (rev 13693)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/colorPicker/usage/sample.xhtml	2009-04-20 13:48:22 UTC (rev 13694)
@@ -10,7 +10,7 @@
 			<rich:paint2D id="painter" width="300" height="120"
 				data="#{paintData}" format="png" paint="#{paintBean.paint}" >
 			</rich:paint2D>
-			<h:panelGroup>
+			<h:panelGroup> 
 				<h:outputText value="Change text color " />
 				<rich:colorPicker colorMode="hex" value="#{paintData.color}">
 					<a4j:support event="onchange" reRender="painter"/>

Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/layouts/usage.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/layouts/usage.xhtml	2009-04-20 13:29:19 UTC (rev 13693)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/layouts/usage.xhtml	2009-04-20 13:48:22 UTC (rev 13694)
@@ -5,15 +5,25 @@
 	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>
-				Description
-			</p>
-			
-			<h:outputLink target="blank" value="#{facesContext.externalContext.requestContextPath}/templates/page/template.jsf">Open sample built with layouts components</h:outputLink>
+<ui:composition template="/templates/component-sample.xhtml">
+	<ui:define name="sample">
+		<p>Set of layout components designed based on <h:outputLink
+			target="blank" value="http://developer.yahoo.com/yui/layout/">Yahoo layouts</h:outputLink>.
+		</p>
+		<p>
+			The component set consists of three components. <b>Page </b>component for page 
+			layout definition and <b>Layout/LayoutPanel</b> components for nesting layout
+			grids creation.
+		</p>
+		<p>
+			As this components designed to create full page layouts - click on the link
+			below to open the page template sample based on them and read 
+			detailed descriptions. 
+		</p> 
+		<h:outputLink target="blank"
+			value="#{facesContext.externalContext.requestContextPath}/richfaces/layouts/page/template.jsf">Open sample built with layouts components</h:outputLink>
 
-		</ui:define>
+	</ui:define>
 
-	</ui:composition>
+</ui:composition>
 </html>




More information about the richfaces-svn-commits mailing list