I have a dataTable component in which I've implemented filterBy for each column:
Code: Select all
<p:dataTable var="service" value="#{serviceBean.services}"
paginator="true" rows="20" selectionMode="single"
selection="#{serviceBean.selectedService}"
update="form:details" id="serviceTable"
paginatorTemplate="{FirstPageLink} {PreviousPageLink} {PageLinks} {NextPageLink} {LastPageLink} {RowsPerPageDropdown}"
rowsPerPageTemplate="5,10,20" loadingMessage="#{messages['loading_message']}"
emptyMessage="#{messages['reporting.empty_message']}">
<p:column sortBy="#{service.serviceName}"
filterBy="#{service.serviceName}">
<f:facet name="header">
<h:outputText value="#{messages['services.service_name']}" />
</f:facet>
<h:outputText value="#{service.serviceName}" />
</p:column>
...
The problem is that when I filter data with some value and after that I select particular row in the table, and when I want to filter again for the same column, clicking on filter field, in IE7 cursor always gets in front of the first character (at the beginning) instead of at the end (behind the last character).
Please help!
The problem only appears in the IE7. I use jsf 1.2, primefaces 1.1.