[ http://issues.apache.org/jira/browse/TAPESTRY-1184?page=all ]

Jesse Kuhnert updated TAPESTRY-1184:
------------------------------------

    Fix Version/s: 4.1.2

> @InjectPageLink and @InjectExternalLink annotations
> ---------------------------------------------------
>
>                 Key: TAPESTRY-1184
>                 URL: http://issues.apache.org/jira/browse/TAPESTRY-1184
>             Project: Tapestry
>          Issue Type: Improvement
>          Components: Annotations
>    Affects Versions: 4.0
>            Reporter: Ming Jiang
>             Fix For: 4.1.2
>
>         Attachments: InjectLink.zip
>
>
> 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);
> } 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to