com.extjs.gxt.ui.client.core
Annotation Type Templates.Resource


@Target(value=METHOD)
@Retention(value=CLASS)
public static @interface Templates.Resource

Used on Templates subinterface methods to override the template resource.

If not specified, the template resource will be generated by concatenating the fully qualified interface name, the # character, the method name, and the extension ".html"

For Example

interface com.project.client.MyTemplates extends Templates {
    public Template button();
    public Template header();
 }
and the crorespinding template files are :
 com/project/client/MyTemplates#button.html
 com/project/client/MyTemplates#header.html
 


Optional Element Summary
 java.lang.String value
          

The name of the resource that contains the template.

 

value

public abstract java.lang.String value

The name of the resource that contains the template.

It is resolved relative to the fully qualified name of the interface.

Default:
""