-
1. Re: Suggestion Box, results not getting displayed
ponicpool Oct 26, 2010 1:54 AM (in response to ponicpool)Some could kindly help, I am still stuck with this error!
Thanks
-
2. Re: Suggestion Box, results not getting displayed
liuliu Oct 26, 2010 3:18 AM (in response to ponicpool)hi,
you need show your code for more detail.
-
3. Re: Suggestion Box, results not getting displayed
ponicpool Oct 26, 2010 3:26 AM (in response to liuliu)Here is my jsf page code, I do not have any issues in getting values from bean.
I am using Jdeveloper 10g with embedded oc4j instance, RF version 3.1.6.
Thanks
*****************************JSF Page**************************************
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>bean</title>
</head>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
<%@ taglib uri="http://richfaces.org/rich" prefix="rich" %>
<%@ taglib uri="http://richfaces.org/a4j" prefix="a4j" %>
<f:view>
<h:form id="suggestionbox_form">
<h:panelGrid width="100%" >
<h:panelGroup >
<h:inputText value="#{capitalsBean.capital}" id="text" />
<rich:suggestionbox id="suggestionBoxId" for="text"
suggestionAction="#{capitalsBean.autocomplete}" var="result"
fetchValue="#{result.name}" ajaxSingle="true"
first="0"
minChars="1"
shadowOpacity="2"
border="2" width="300"
height="180"
shadowDepth="3"
cellpadding="2"
nothingLabel="No capitals found">
<h:column>
<h:outputText value="#{result.name}" />
</h:column>
</rich:suggestionbox>
<a4j:outputPanel ajaxRendered="true">
<h:messages />
</a4j:outputPanel>
<a4j:log popup="false"/>
</h:panelGroup>
</h:panelGrid>
</h:form>
</f:view>
</html>