to.etc.domui.annotations
Annotation Type AjaxHandler


@Retention(value=RUNTIME)
@Target(value=TYPE)
public @interface AjaxHandler

Defines that a class is an AJAX callable handler class.

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 handler.
 

roles

public abstract java.lang.String roles
Defines a list of rolenames that the user must have to be allowed access to this handler. 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