You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Andreas Andreou (JIRA)" <de...@tapestry.apache.org> on 2007/05/24 20:47:16 UTC

[jira] Resolved: (TAPESTRY-1184) @InjectPageLink and @InjectExternalLink annotations

     [ https://issues.apache.org/jira/browse/TAPESTRY-1184?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andreas Andreou resolved TAPESTRY-1184.
---------------------------------------

    Resolution: Won't Fix

move to tacos-annotations

> @InjectPageLink and @InjectExternalLink annotations
> ---------------------------------------------------
>
>                 Key: TAPESTRY-1184
>                 URL: https://issues.apache.org/jira/browse/TAPESTRY-1184
>             Project: Tapestry
>          Issue Type: Improvement
>          Components: Annotations
>    Affects Versions: 4.0
>            Reporter: Ming Jiang
>         Assigned To: Andreas Andreou
>             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.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org