Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Won't Fix
-
4.0
-
None
Description
As a return type of listener method,ILink can be used to perform a redirect-after-post.So it will be a great convenience to inject ILink using annotations.
@InjectPageLink("Home")
public abstract ILink getHomeLink();
@InjectExternalLink("ShowCategory")
public abstract ILink getCategoryLink(Long id);
public ILink goHome(){
return getHomeLink();
}
public ILink showCategory(Long id){
return getCategoryLink(id);
}