Ok, I found it out. You have to enable Ajax in tobago-config.xml.
But I wonder why all the other Ajax features (explicit reloads, popups) 
work without Ajax enabled and why the sheet is reloaded once...

Regards
Helmut


>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

Reply via email to