[richfaces-svn-commits] JBoss Rich Faces SVN: r13940 - trunk/test-applications/richfaces-docs/web/src/main/webapp.

richfaces-svn-commits at lists.jboss.org richfaces-svn-commits at lists.jboss.org
Thu Apr 30 08:03:57 EDT 2009


Author: ochikvina
Date: 2009-04-30 08:03:57 -0400 (Thu, 30 Apr 2009)
New Revision: 13940

Added:
   trunk/test-applications/richfaces-docs/web/src/main/webapp/pickList.xhtml
Log:


Added: trunk/test-applications/richfaces-docs/web/src/main/webapp/pickList.xhtml
===================================================================
--- trunk/test-applications/richfaces-docs/web/src/main/webapp/pickList.xhtml	                        (rev 0)
+++ trunk/test-applications/richfaces-docs/web/src/main/webapp/pickList.xhtml	2009-04-30 12:03:57 UTC (rev 13940)
@@ -0,0 +1,41 @@
+<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
+                      "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+                xmlns:s="http://jboss.com/products/seam/taglib"
+                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:rich="http://richfaces.org/rich"
+                template="layout/template.xhtml">
+
+<ui:define name="body">
+	<style>
+		.rich-picklist-target-cell{
+			background: grey;
+			font-size: 16px;
+		}
+	</style>
+
+    <h:messages globalOnly="true" styleClass="message"/>
+    
+    <rich:panel>
+	    <f:facet name="header">rich:pickList</f:facet>
+	 
+	 	<h:form>
+	 		 <rich:pickList>
+	             <f:selectItem itemLabel="Bentley" itemValue="1"/>
+	             <f:selectItem itemLabel="Ford" itemValue="2"/>
+	             <f:selectItem itemLabel="Chevrolet" itemValue="3"/>
+	             <f:selectItem itemLabel="Lincoln" itemValue="4"/>
+	             <f:selectItem itemLabel="Mazda" itemValue="5"/>
+	             <f:selectItem itemLabel="BMV" itemValue="6"/>
+	             <f:selectItem itemLabel="Volkwagen" itemValue="7"/>
+	             <f:selectItem itemLabel="Audi" itemValue="8"/>
+	             <f:selectItem itemLabel="Mercedes" itemValue="9"/>
+	             <f:selectItem itemLabel="Toyota" itemValue="10"/>
+             </rich:pickList>
+	 	</h:form>
+    </rich:panel>
+    
+</ui:define> 
+</ui:composition>




More information about the richfaces-svn-commits mailing list