Author: akushunin
Date: 2008-03-04 06:26:51 -0500 (Tue, 04 Mar 2008)
New Revision: 6524
Modified:
trunk/samples/suggestionbox-sample/src/main/webapp/pages/index.jsp
Log:
http://jira.jboss.com/jira/browse/RF-1774
Modified: trunk/samples/suggestionbox-sample/src/main/webapp/pages/index.jsp
===================================================================
--- trunk/samples/suggestionbox-sample/src/main/webapp/pages/index.jsp 2008-03-04 11:25:54
UTC (rev 6523)
+++ trunk/samples/suggestionbox-sample/src/main/webapp/pages/index.jsp 2008-03-04 11:26:51
UTC (rev 6524)
@@ -38,7 +38,8 @@
<h:inputText value="#{suggestionBox.property}" id="text"/>
<rich:suggestionbox id="suggestionBoxId" for="text"
tokens=",["
rules="#{suggestionBox.rules}"
- suggestionAction="#{suggestionBox.autocomplete}"
var="result"
+ suggestionAction="#{suggestionBox.autocomplete}"
+ var="result"
fetchValue="#{result.text}"
first="#{suggestionBox.intFirst}"
minChars="#{suggestionBox.minchars}"
@@ -47,8 +48,8 @@
width="#{suggestionBox.width}"
height="#{suggestionBox.height}"
shadowDepth="#{suggestionBox.shadowDepth}"
- cellpadding="#{suggestionBox.cellpadding}">
-
+ cellpadding="#{suggestionBox.cellpadding}"
+ hiddenFetchValue="#{result.label}">
<a4j:ajaxListener type="org.richfaces.AjaxListener"/>
<h:column>
<h:outputText value="#{result.text}"/>