You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Davor Hrg (JIRA)" <de...@tapestry.apache.org> on 2008/01/10 15:06:34 UTC
[jira] Updated: (TAPESTRY-1965) @Symbol annotation returns sericeId
when used without @Inject
[ https://issues.apache.org/jira/browse/TAPESTRY-1965?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Davor Hrg updated TAPESTRY-1965:
--------------------------------
Component/s: (was: tapestry-ioc)
Documentation
Priority: Trivial (was: Minor)
Affects Version/s: (was: 5.0.6)
5.0.7
> @Symbol annotation returns sericeId when used without @Inject
> -------------------------------------------------------------
>
> Key: TAPESTRY-1965
> URL: https://issues.apache.org/jira/browse/TAPESTRY-1965
> Project: Tapestry
> Issue Type: Improvement
> Components: Documentation
> Affects Versions: 5.0.7
> Reporter: Davor Hrg
> Assignee: Howard M. Lewis Ship
> Priority: Trivial
>
> I have a simple decorator that uses tapestry app-name...
> I tested this problem in three module methods:
> contributeApplicationDefaults
> buildTimingFilter
> decorateComponentMessagesSource
> using:
> @Symbol(InternalConstants.TAPESTRY_APP_NAME_SYMBOL)
> if @Symbol is used with @Inject
> the results are ok:
> contributeApplicationDefaults.APPNAME app
> buildTimingFilter.APPNAME app
> decorateComponentMessagesSource.APPNAME app
> if used without @Inject contrib method has ok result
> contributeApplicationDefaults.APPNAME app
> buildTimingFilter.APPNAME TimingFilter
> decorateComponentMessagesSource.APPNAME ComponentMessagesSource
> If @Symbol is not intended to be used without @inject
> Exception should be thrown to avoid problems from unexpected results
--
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