[
https://issues.apache.org/jira/browse/TAPESTRY-1184?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12498394
]
Andreas Andreou commented on TAPESTRY-1184:
-------------------------------------------
Objections to moving this to tacos-annotations ?
https://svn.sourceforge.net/svnroot/tacos/tacos-4.1/trunk/tacos-annotations/
We can always move it then back in tapestry if it turns out to be popular!
> @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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]