net.sf.tacos.ajax.components
Class AjaxAutoInvoker

java.lang.Object
  extended by org.apache.hivemind.impl.BaseLocatable
      extended by org.apache.tapestry.AbstractComponent
          extended by net.sf.tacos.ajax.components.AjaxAutoInvoker
All Implemented Interfaces:
Locatable, LocationHolder, org.apache.tapestry.IComponent, org.apache.tapestry.IRender

public abstract class AjaxAutoInvoker
extends org.apache.tapestry.AbstractComponent

A component that submit form every intervalMilliseconds seconds

Author:
Felix Sun

Constructor Summary
AjaxAutoInvoker()
           
 
Method Summary
abstract  AjaxDirectService getAjaxEngine()
          Injected ajax service
abstract  String getIntervalMilliseconds()
          Interval milliseconds of very submit.
abstract  org.apache.tapestry.IScript getScript()
           
abstract  AjaxSubmitInvocation getTarget()
          Invoke target ajax submit invocation.
protected  void renderComponent(org.apache.tapestry.IMarkupWriter writer, org.apache.tapestry.IRequestCycle cycle)
          
 
Methods inherited from class org.apache.tapestry.AbstractComponent
addAsset, addBody, addComponent, checkActiveLock, cleanupAfterRender, enterActiveState, finishLoad, finishLoad, format, format, format, format, getAsset, getAssets, getBeans, getBinding, getBindingNames, getBindings, getBody, getBodyCount, getComponent, getComponents, getContainedComponent, getContainer, getExtendedId, getId, getIdPath, getListeners, getMessage, getMessages, getNamespace, getPage, getProperty, getSpecification, isInActiveState, isParameterBound, isRendering, pageEndRender, prepareForRender, render, renderBody, renderInformalParameters, setBinding, setContainedComponent, setContainer, setId, setNamespace, setPage, setProperty, toString
 
Methods inherited from class org.apache.hivemind.impl.BaseLocatable
getLocation, setLocation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.apache.hivemind.LocationHolder
setLocation
 
Methods inherited from interface org.apache.hivemind.Locatable
getLocation
 

Constructor Detail

AjaxAutoInvoker

public AjaxAutoInvoker()
Method Detail

getAjaxEngine

public abstract AjaxDirectService getAjaxEngine()
Injected ajax service


getIntervalMilliseconds

public abstract String getIntervalMilliseconds()
Interval milliseconds of very submit.

Returns:
milliseconds

getTarget

public abstract AjaxSubmitInvocation getTarget()
Invoke target ajax submit invocation.

Returns:
ajax submit invocation like AjaxEventSubmit.

getScript

public abstract org.apache.tapestry.IScript getScript()
Returns:
Script for processing client side.

renderComponent

protected void renderComponent(org.apache.tapestry.IMarkupWriter writer,
                               org.apache.tapestry.IRequestCycle cycle)

Specified by:
renderComponent in class org.apache.tapestry.AbstractComponent