net.sf.tacos.annotations
Annotation Type InjectPageLink


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

Annotation for injecting an ILink to a specific page, using the page service.

Use it on an abstract, parameterless page or component method that returns ILink.

Author:
Ming Jiang, Andreas Andreou

Required Element Summary
 String value
          The name of the page for which to inject the ILink.
 
Optional Element Summary
 boolean currentNamespace
          Set to true if the page is to be found on the current namespace.
 

Element Detail

value

public abstract String value
The name of the page for which to inject the ILink.

Returns:

currentNamespace

public abstract boolean currentNamespace
Set to true if the page is to be found on the current namespace. Otherwise (the default), it is assumed to exist in the application (global) namespace.

Returns:
Default:
false


Copyright © 2005-2008 SourceForge.net. All Rights Reserved.