Hi!
I have the following code:
<%@ taglib uri="http://richfaces.org/a4j" prefix="a4j" %>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://richfaces.org/rich" prefix="rich" %>
<f:view>
<h:form>
<rich:spacer height="10"/>
<rich:dataTable width="483" id="licencieList" rows="20" columnClasses="col"
value="#{newUserForm.users}" var="licencie">
<f:facet name="header">
<rich:columnGroup>
<h:column>
<h:outputText styleClass="headerText" value="Name"/>
</h:column>
<h:column>
<h:outputText styleClass="headerText" value="EMail"/>
</h:column>
<h:column>
<h:outputText styleClass="headerText" value="Login"/>
</h:column>
<h:column>
<h:outputText styleClass="headerText" value="Operations"/>
</h:column>
</rich:columnGroup>
</f:facet>
<h:column>
<h:outputText styleClass="top_tab" value="#{licencie.name}"/>
</h:column>
<h:column>
<h:outputText styleClass="top_tab" value="#{licencie.email}"/>
</h:column>
<h:column>
<h:outputText styleClass="top_tab" value="#{licencie.login}"/>
</h:column>
<h:column>
<a4j:commandLink action="#{newUserForm.fillUserEditForm}">
<h:outputLabel value="Edit"/>
<%--<a4j:support event="oncomplete" reRender="editUserForm"/>--%>
<f:param value="#{licencie.id}" name="lic"/>
</a4j:commandLink>
</h:column>
<f:facet name="footer">
<rich:datascroller for="licencieList" maxPages="20"/>
</f:facet>
</rich:dataTable>
</h:form>
</f:view>
I use JSF 1.1. Tomcat 5.5.xx And I have the following problem - when I click the link "Edit" onb the first page of my table (I mean pages generated by datascroller) action newUserForm.fillUserEditForm works fine, but if I go to the second page it is called only from time to time. Could you please explain me where is my fault?
Best wishes and thank you in advance!