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/12/07 04:46:43 UTC

[jira] Closed: (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 ]

Howard M. Lewis Ship closed TAPESTRY-1965.
------------------------------------------

       Resolution: Invalid
    Fix Version/s:     (was: 5.0.7)
         Assignee: Howard M. Lewis Ship

This is explicit and documented.

> @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: tapestry-ioc
>    Affects Versions: 5.0.6
>            Reporter: Davor Hrg
>            Assignee: Howard M. Lewis Ship
>            Priority: Minor
>
> 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