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

com.flowlogix.web.services.annotations.AJAX Maven / Gradle / Ivy

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy