Hi,
I new at using ICEFaces. We are developing a portal application with JBOSS and ICEFaces (1.8).
Everything is working great! But, I'm trying to build an autocomplete very similar to the one shown in the component showcase (the second one, were the results are shown in a grid).
I've tried everything! but the grid won't display! Here's a sample of my .jspx: Code:
<ice:selectInputText id="txtZipCode"
rows="#{autocompleteBean.cityListLength}"
width="100"
value="#{autocompleteBean.selectedCityValue}"
valueChangeListener="#{autocompleteController.selectInputValueChanged}"
listVar="city"
listValue="#{autocompleteBean.cityMatchPossibilities}">
<f:facet name="zipCodes">
<ice:panelGrid columns="3">
<ice:outputText id="AutoCmpCty" value="#{city.city}"/>
<ice:outputText id="AutoCmpSt" value="#{city.state}"/>
<ice:outputText id="AutoCmpZip" value="#{city.zip}"/>
</ice:panelGrid>
</f:facet>
</ice:selectInputText>
I used the "location" example that has an autocomplete. Then I tried a way to add the the grid, just like the autocomplete in the component showcase. I checked the beans of both examples and they are basically the same.
The autocomplete woks fine if I use this:
Code:
<f:selectItems id="locationItems" value="#{autocompleteBean.cityMatchPossibilities}"/>
I was wondering if the grid only works with the 2.0 ICEFaces version? Or am I missing something?
Thanks in advance!
Adrian