com.flowlogix.web.mixins.DeferZoneUpdate Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of flowlogix-tapestry Show documentation
Show all versions of flowlogix-tapestry Show documentation
Flow Logix Utility Library for Tapestry
package com.flowlogix.web.mixins;
import org.apache.tapestry5.ClientElement;
import org.apache.tapestry5.annotations.AfterRender;
import org.apache.tapestry5.annotations.Environmental;
import org.apache.tapestry5.annotations.Import;
import org.apache.tapestry5.annotations.InjectContainer;
import org.apache.tapestry5.services.javascript.JavaScriptSupport;
/**
* Provides Timed Zone Updates
*
* See Documentation
*
* @author lprimak
*/
@Import(library="DeferUpdate.js")
public class DeferZoneUpdate extends PeriodicUpdater
{
@AfterRender
void addStatusReset()
{
js.addInitializerCall("deferUpdate", container.getClientId());
}
private @InjectContainer ClientElement container;
private @Environmental JavaScriptSupport js;
}