You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Ming Jiang (JIRA)" <ta...@jakarta.apache.org> on 2006/12/12 10:02:23 UTC
[jira] Updated: (TAPESTRY-1184) @InjectPageLink and
@InjectExternalLink annotations
[ http://issues.apache.org/jira/browse/TAPESTRY-1184?page=all ]
Ming Jiang updated TAPESTRY-1184:
---------------------------------
Attachment: InjectLink.zip
> @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
> 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: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org