All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.flowlogix.web.mixins.DeferZoneUpdate Maven / Gradle / Ivy

There is a newer version: 4.0.9
Show newest version
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;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy