[
https://jira.jboss.org/jira/browse/RF-7134?page=com.atlassian.jira.plugin...
]
Thomas Rohde commented on RF-7134:
----------------------------------
I have a similar problem. I just want to place a text at the bottom of the suggestion box.
But using <f:facet name="footer"> has no effect. The other two facets
(header and nothingLabel) works as espected.
Here is my code:
<h:inputText id="searchPhrase" value="#{myModel.searchPhrase}"
style="width:100%" />
<rich:suggestionbox for="searchPhrase"
suggestionAction="#{myAction.autocomplete}" var="suggest" >
<f:facet name="header">
<h:outputText value="Search Results"/>
</f:facet>
<f:facet name="nothingLabel">
<h:outputText value="Nothing found"/>
</f:facet>
<f:facet name="footer">
<h:outputText value="All search results"/>
</f:facet>
<h:column>
<h:outputText value="#{suggest}"/>
</h:column>
<a4j:support event="onselect" reRender="mytree"
ignoreDupResponses="true" />
</rich:suggestionbox>
provide facets for rich:suggestionBox
-------------------------------------
Key: RF-7134
URL:
https://jira.jboss.org/jira/browse/RF-7134
Project: RichFaces
Issue Type: Feature Request
Components: component-input
Affects Versions: 3.3.0
Reporter: nimo stephan
Assignee: Nick Belaevski
Priority: Minor
Fix For: Future
I have a rich:suggestionbox coupling with a query. The query is limited to fetch at most
50 rows.
So I need something like a scroller or a paginator within my suggestionbox, which
triggers a action to fetch the next 50 rows and update my suggestionbox with these new
fetched rows.
I tried to integrate a a4j:commandLink within my suggestionbox as a footer-facet or
header-facet, but rich:suggestionbox cannot render these facets:
<rich:suggestionbox ...>
<f:facet name="footer">
<a4j:commandLink action="#{myBean.nextSuggestions}" value="previous
suggestions.." />
</f:facet>
<h:column>
..
</h:column>
<f:facet name="footer">
<a4j:commandLink action="#{myBean.nextSuggestions}" value="next
suggestions.." />
</f:facet>
</rich:suggestionbox>
for a example of a Navigation within a suggestionBox, look at
http://toolkit.itmill.com/demo/sampler/#Components/Selects/ComboBoxStarts...
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira