You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by "H. Swaczinna" <sw...@wlp-systems.de> on 2006/12/05 00:15:42 UTC

[Tobago] tc:reload reloads only once

Hi,

the tc:reload tag reloads it's parent component only once after
the given frequency. I thought, it should reload the component regulary.
Right?

Here is a simple example:

<%@ taglib uri="http://myfaces.apache.org/tobago/component" prefix="tc" %>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<f:view>
  <tc:page label="Test" width="1020px" height="600px" id="gena">
    <tc:sheet value="#{taskController.taskList}" id="tasks"
      columns="*" 
      var="task"
      showHeader="true"
      showRowRange="none"
      showPageRange="none"
      showDirectLinks="none"
      first="0"
      selectable="none">
      <f:facet name="reload">
        <tc:reload frequency="5000"/>
      </f:facet>
      <tc:column label="Eingang">
        <tc:out value="#{task.incomming}"/>
      </tc:column>                          
    </tc:sheet>
  </tc:page>
</f:view>

Is there anything more I have to configure?

I'm using the 1.0.9 snapshot from tonight.

Regards
Helmut