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

Howard M. Lewis Ship updated TAPESTRY-1965:
-------------------------------------------

    Assignee:     (was: Howard M. Lewis Ship)

> @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
>            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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to