[
https://jira.jboss.org/browse/RF-9326?page=com.atlassian.jira.plugin.syst...
]
Nick Belaevski updated RF-9326:
-------------------------------
Assignee: Nick Belaevski
Fix Version/s: Future_3.X
Suggestionbox does not work correct with ajaxKeys in dataTable
--------------------------------------------------------------
Key: RF-9326
URL:
https://jira.jboss.org/browse/RF-9326
Project: RichFaces
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: component-input
Affects Versions: 3.3.1, 3.3.3.Final
Environment: JBoss AS 4.2.3
Seam 2.2
Richfaces 3.3.3
Reporter: Martin Dames
Assignee: Nick Belaevski
Fix For: Future_3.X
Hi,
it seems, that the suggestionbox only appears in the first row of the datatable if
ajaxKeys is being used. By removing ajaxKeys it works for every row.
Here are some code
<rich:dataTable value="#{invoiceAction.selectedInvoice.positions}"
id="invoiceTable" width="350px"
var="_pos"
ajaxKeys="#{invoiceAction.dataTablekeysToUpdate}"
rows="#{invoiceAction.confDataTableConfRowNo}"
rowKeyVar="_row" >
<f:facet name="header">
... some columns
<rich:column style="width: 200px; text-align: left;">
<f:facet name="header">
<h:outputText value="Zielort" title="Der
Zielort der Fahrt" />
</f:facet>
<h:inputText value="#{_pos.destination}"
id="input"/>
<rich:suggestionbox
var="_result"
for="input"
suggestionAction="#{invoiceAction.autocomplete}"
ajaxSingle="true"
width="195"
height="200">
<f:facet
name="header">
<h:outputText value="Waehlen Sie einen Vorschlag aus"
/>
</f:facet>
<h:column>
<h:outputText value="#{_result}" />
</h:column>
</rich:suggestionbox>
</rich:column>
... some more columns
</rich:dataTable>
Behind ajaxKeys is just a Set of Integers.
It tried RichFaces 3.3.1 also. It does not work either.
Thank you.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira