[richfaces-svn-commits] JBoss Rich Faces SVN: r4816 - in branches/3.1.x/samples/richfaces-demo/src/main/webapp/richfaces/suggestionBox: examples and 1 other directory.
richfaces-svn-commits at lists.jboss.org
richfaces-svn-commits at lists.jboss.org
Thu Dec 13 09:39:07 EST 2007
Author: smukhina
Date: 2007-12-13 09:39:06 -0500 (Thu, 13 Dec 2007)
New Revision: 4816
Modified:
branches/3.1.x/samples/richfaces-demo/src/main/webapp/richfaces/suggestionBox/examples/custom.xhtml
branches/3.1.x/samples/richfaces-demo/src/main/webapp/richfaces/suggestionBox/usage.xhtml
Log:
http://jira.jboss.com/jira/browse/RF-1356
language is checked
Modified: branches/3.1.x/samples/richfaces-demo/src/main/webapp/richfaces/suggestionBox/examples/custom.xhtml
===================================================================
--- branches/3.1.x/samples/richfaces-demo/src/main/webapp/richfaces/suggestionBox/examples/custom.xhtml 2007-12-13 14:06:16 UTC (rev 4815)
+++ branches/3.1.x/samples/richfaces-demo/src/main/webapp/richfaces/suggestionBox/examples/custom.xhtml 2007-12-13 14:39:06 UTC (rev 4816)
@@ -6,10 +6,8 @@
xmlns:rich="http://richfaces.org/rich">
<h:form id="suggestionbox_form">
-
<p>
- Suggestion Box will suggest you states capitals names. Comma and space could be used as suggestions separators."
- </p>
+ Suggestion Box will suggest you should state capitals names. Comma and space could be used as suggestions separators." </p>
<h:inputText value="#{capitalsBean.capital}" id="text" />
<rich:suggestionbox id="suggestionBoxId" for="text" tokens=",["
rules="#{suggestionBox.rules}"
@@ -21,24 +19,12 @@
border="#{suggestionBox.border}" width="#{suggestionBox.width}"
height="#{suggestionBox.height}"
shadowDepth="#{suggestionBox.shadowDepth}"
- cellpadding="#{suggestionBox.cellpadding}"
- nothingLabel="No capitals found" columnClasses="center">
- <h:column>
- <f:facet name="header">
- <h:outputText value="123"></h:outputText>
- </f:facet>
+ cellpadding="#{suggestionBox.cellpadding}" nothingLabel="No capitals found" columnClasses="center">
+ <h:column> <f:facet name="header"> <h:outputText value="123"></h:outputText> </f:facet>
<h:graphicImage value="#{result.stateFlag}" />
</h:column>
- <h:column>
- <h:outputText value="#{result.name}" />
- </h:column>
- <h:column>
- <h:outputText value="#{result.state}" style="font-style:italic"/>
- </h:column>
- </rich:suggestionbox>
-
- <rich:spacer height="30px"/>
-
+ <h:column> <h:outputText value="#{result.name}" /> </h:column> <h:column> <h:outputText value="#{result.state}" style="font-style:italic"/> </h:column> </rich:suggestionbox>
+ <rich:spacer height="30px"/>
<h:panelGrid columns="2" border="0" >
<h:outputText value="Border" />
Modified: branches/3.1.x/samples/richfaces-demo/src/main/webapp/richfaces/suggestionBox/usage.xhtml
===================================================================
--- branches/3.1.x/samples/richfaces-demo/src/main/webapp/richfaces/suggestionBox/usage.xhtml 2007-12-13 14:06:16 UTC (rev 4815)
+++ branches/3.1.x/samples/richfaces-demo/src/main/webapp/richfaces/suggestionBox/usage.xhtml 2007-12-13 14:39:06 UTC (rev 4816)
@@ -12,11 +12,11 @@
<p>RichFaces Suggestion Box component adds the autocomplete
capability to the existing input component such as h:inputText or
- t:inputText. Use the attribute 'for', in order to pint to the necessary input component
+ t:inputText. Use the attribute 'for', in order to point to the necessary input component
to add the autocomplete capabity to it.</p>
<p>Working with Suggestion Box is similar to the h:dataTable
component, but instead of the 'value' attribute it has a
- suggestionAction attribute that points to the method that returns the
+ suggestionAction attribute that points to the method, which returns a
filtered collection. The 'fetch' attribute points to the data that
is inserted into the input field if a particular row is selected
or clicked from the suggested list.</p>
More information about the richfaces-svn-commits
mailing list