com.flowlogix.web.services.annotations.AJAX 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
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.flowlogix.web.services.annotations;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* Marks a tapestry Ajax event method,
* graceful degradation to a non-ajax call
*
* See Documentation
*
* @author lprimak
*/
@Documented
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface AJAX
{
/**
* Whether to discard @Persist variables after the Ajax call
*/
boolean discardAfter() default false;
/**
* Redirects to the this same page if a web session is not established
* in an attempt to establish a session or log in, if required
*/
boolean requireSession() default true;
}