|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@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. |
public abstract java.lang.String value
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |