to.etc.domui.annotations
Annotation Type AjaxMethod


@Retention(value=RUNTIME)
@Target(value=METHOD)
public @interface AjaxMethod

Annotates a method as an Ajax-callable method

Author:
Frits Jalvingh Created on Apr 5, 2006

Optional Element Summary
 ResponseFormat response
          Defines the generated output format.
 java.lang.String roles
          Defines a list of rolenames that the user must have to be allowed access to this method.
 

roles

public abstract java.lang.String roles
Defines a list of rolenames that the user must have to be allowed access to this method. If the list is empty no security check takes place. The presence of roles also forces the user to login.

Returns:
Default:
""

response

public abstract ResponseFormat response
Defines the generated output format.

Returns:
Default:
to.etc.domui.annotations.ResponseFormat.UNDEFINED