Author: ilya_shaikovsky
Date: 2010-11-01 10:21:49 -0400 (Mon, 01 Nov 2010)
New Revision: 19830
Modified:
trunk/examples/richfaces-showcase/src/main/webapp/richfaces/select/samples/select-sample.xhtml
trunk/examples/richfaces-showcase/src/main/webapp/richfaces/select/select.xhtml
Log:
select demo descriptions added
Modified:
trunk/examples/richfaces-showcase/src/main/webapp/richfaces/select/samples/select-sample.xhtml
===================================================================
---
trunk/examples/richfaces-showcase/src/main/webapp/richfaces/select/samples/select-sample.xhtml 2010-11-01
14:03:58 UTC (rev 19829)
+++
trunk/examples/richfaces-showcase/src/main/webapp/richfaces/select/samples/select-sample.xhtml 2010-11-01
14:21:49 UTC (rev 19830)
@@ -6,7 +6,7 @@
xmlns:a4j="http://richfaces.org/a4j"
xmlns:rich="http://richfaces.org/rich">
<h:form>
- <p>DESC</p>
+ <p>There is simple sample where select behaves as standard one:</p>
<rich:panel style="width:220px;">
<f:facet name="header">
<h:outputText value="Simples select"></h:outputText>
@@ -19,14 +19,21 @@
<f:selectItem itemValue="4" itemLabel="Option 5" />
</rich:select>
</rich:panel>
- <p>DESC</p>
+ <p>There you could check keyboard filtering within the select
+ component. It allows to enter only valid items from the list. Wrong
+ input will be reseted.</p>
<rich:panel style="width:220px;">
<f:facet name="header">
<h:outputText value="Select with manual input"></h:outputText>
</f:facet>
- <rich:select enableManualInput="true" defaultLabel="start typing for
select" >
- <f:selectItems value="#{inplaceSelectBean.capitalsOptions}"/>
+ <rich:select enableManualInput="true"
+ defaultLabel="start typing for select">
+ <f:selectItems value="#{inplaceSelectBean.capitalsOptions}" />
</rich:select>
- </rich:panel>
+ <a4j:commandButton value="submit"></a4j:commandButton>
+ <a4j:outputPanel ajaxRendered="true">
+ <h:messages />
+ </a4j:outputPanel>
+ </rich:panel>
</h:form>
</ui:composition>
\ No newline at end of file
Modified: trunk/examples/richfaces-showcase/src/main/webapp/richfaces/select/select.xhtml
===================================================================
---
trunk/examples/richfaces-showcase/src/main/webapp/richfaces/select/select.xhtml 2010-11-01
14:03:58 UTC (rev 19829)
+++
trunk/examples/richfaces-showcase/src/main/webapp/richfaces/select/select.xhtml 2010-11-01
14:21:49 UTC (rev 19830)
@@ -5,7 +5,15 @@
xmlns:ui="http://java.sun.com/jsf/facelets">
<ui:composition>
- <p>DESC</p>
+ <p><b>rich:select</b> component is designed to replace standard
+ h:selectOneMenu. Main features which differs from base component:</p>
+ <ul>
+ <li>Skinned according to RichFaces standard principles. That
+ allows the component to have unified look and feel across all the
+ browsers.</li>
+ <li>Provides better navigation across select items using keyboard</li>
+ <li>Provides default label functionality which is common for all the RichFaces
inputs.</li>
+ </ul>
<ui:include src="#{demoNavigator.sampleIncludeURI}" />
<ui:include src="/templates/includes/source-view.xhtml">