What could possible reasons be that my action calls are delayed? It happens for all action calls on one form I have. After I click on a anything that will call an action (or when the value of a dataTable should be evaluated on form load), it takes roughly 10 seconds for the action to be called. (I checked it by setting a breakpoint and then click on the button.)
Any ideas why?
This is the part that seems to cause the trouble:
<h:panelGroup id="someGroup">
<h:dataTable value="#{someHandler.keys}" binding="#{someHandler.dataTable}" var="key">
<h:column>
<f:facet name="header">
<h:outputText value="Key" />
</f:facet>
<h:outputText value="#{key}" />
</h:column>
<h:column>
<f:facet name="header">
<h:outputText value="Value" />
</f:facet>
<h:commandLink value="[No value]" rendered="#{empty someHandler.getValue(key)}">
<f:ajax listener="#{someHandler.loadProperty}" render="someForm:key someForm:value" />
</h:commandLink>
<h:commandLink value="#{someHandler.getValue(key)}" rendered="#{not empty someHandler.getValue(key)}">
<f:ajax listener="#{someHandler.loadProperty}" render="someForm:key someForm:value" />
</h:commandLink>
</h:column>
</h:dataTable>
</h:panelGroup>
During debugging I noticed that it always calls someHandler.keys first when I click a commandLink. Is there any explaination for that? I don't want the dataTable rerendered if I click on one of these commandLinks. None of the methods called is particularly "slow".