You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Howard M. Lewis Ship (JIRA)" <de...@tapestry.apache.org> on 2007/05/16 02:41:16 UTC
[jira] Closed: (TAPESTRY-1446) @Symbol annotation for injecting a
specific symbol
[ https://issues.apache.org/jira/browse/TAPESTRY-1446?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Howard M. Lewis Ship closed TAPESTRY-1446.
------------------------------------------
Resolution: Fixed
Fix Version/s: 5.0.5
Assignee: Howard M. Lewis Ship
Fix was mixed into another bug (TAPESTRY-1369).
> @Symbol annotation for injecting a specific symbol
> --------------------------------------------------
>
> Key: TAPESTRY-1446
> URL: https://issues.apache.org/jira/browse/TAPESTRY-1446
> Project: Tapestry
> Issue Type: New Feature
> Components: tapestry-ioc
> Affects Versions: 5.0
> Reporter: Howard M. Lewis Ship
> Assigned To: Howard M. Lewis Ship
> Fix For: 5.0.5
>
>
> It would be nice to have an @Symbol anntotation that is similar to @Value except that the value annotation would be a symbol name (rather than an expansion). This would support cases where a constant is defined, i.e.:
> @Inject @Symbol(InternalConstants.TAPESTRY_ALIAS_MODE_SYMBOL)
> vs.
> @Inject @Value("${tapestry.alias-mode}")
> The latter is more prone to typos that can only be detected at runtime.
--
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