Author: ilya_shaikovsky
Date: 2008-03-04 10:52:26 -0500 (Tue, 04 Mar 2008)
New Revision: 6538
Added:
trunk/samples/richfaces-demo/src/main/webapp/richfaces/comboBox/
trunk/samples/richfaces-demo/src/main/webapp/richfaces/comboBox/examples/
trunk/samples/richfaces-demo/src/main/webapp/richfaces/comboBox/examples/collection.xhtml
trunk/samples/richfaces-demo/src/main/webapp/richfaces/comboBox/examples/simple.xhtml
trunk/samples/richfaces-demo/src/main/webapp/richfaces/comboBox/usage.xhtml
Log:
Added:
trunk/samples/richfaces-demo/src/main/webapp/richfaces/comboBox/examples/collection.xhtml
===================================================================
---
trunk/samples/richfaces-demo/src/main/webapp/richfaces/comboBox/examples/collection.xhtml
(rev 0)
+++
trunk/samples/richfaces-demo/src/main/webapp/richfaces/comboBox/examples/collection.xhtml 2008-03-04
15:52:26 UTC (rev 6538)
@@ -0,0 +1,10 @@
+<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">
+
+ <rich:comboBox value="#{comboBoxBean.value}"
suggestionValues="#{capitalsBean.capitalsNames}"/>
+
+</ui:composition>
\ No newline at end of file
Added:
trunk/samples/richfaces-demo/src/main/webapp/richfaces/comboBox/examples/simple.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/comboBox/examples/simple.xhtml
(rev 0)
+++
trunk/samples/richfaces-demo/src/main/webapp/richfaces/comboBox/examples/simple.xhtml 2008-03-04
15:52:26 UTC (rev 6538)
@@ -0,0 +1,13 @@
+<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">
+
+ <rich:comboBox value="#{comboBoxBean.value}">
+ <f:selectItem itemValue="1"/>
+ </rich:comboBox>
+
+
+</ui:composition>
\ No newline at end of file
Added: trunk/samples/richfaces-demo/src/main/webapp/richfaces/comboBox/usage.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/comboBox/usage.xhtml
(rev 0)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/comboBox/usage.xhtml 2008-03-04
15:52:26 UTC (rev 6538)
@@ -0,0 +1,35 @@
+<!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>
+ SHORT DESCRIPTION
+ </p>
+ <div class="sample-container" >
+ <ui:include src="/richfaces/comboBox/examples/simple.xhtml"/>
+ <ui:include src="/templates/include/sourceview.xhtml">
+ <ui:param name="sourcepath"
value="/richfaces/comboBox/examples/simple.xhtml"/>
+ </ui:include>
+ </div>
+ <p>
+ DESCRIPTION
+ </p>
+ <div class="sample-container" >
+ <ui:include src="/richfaces/comboBox/examples/collection.xhtml"/>
+ <ui:include src="/templates/include/sourceview.xhtml">
+ <ui:param name="sourcepath"
value="/richfaces/comboBox/examples/collection.xhtml"/>
+ </ui:include>
+ </div>
+ <p>
+ DESCRIPTION
+ </p>
+ </ui:define>
+
+ </ui:composition>
+</html>