[
https://issues.apache.org/jira/browse/TAPESTRY-1964?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Howard M. Lewis Ship closed TAPESTRY-1964.
------------------------------------------
Resolution: Fixed
Fix Version/s: 5.0.15
Assignee: Howard M. Lewis Ship
> Constant not used from app-name in TapestryModule
> -------------------------------------------------
>
> Key: TAPESTRY-1964
> URL: https://issues.apache.org/jira/browse/TAPESTRY-1964
> Project: Tapestry
> Issue Type: Wish
> Components: tapestry-core
> Affects Versions: 5.0.6
> Reporter: Davor Hrg
> Assignee: Howard M. Lewis Ship
> Priority: Trivial
> Fix For: 5.0.15
>
> Attachments: TAPESTRY-1964.patch
>
>
> I had some trobubles with @Symbol annotation ...
> and ran into following code in TapestryModule
> @Inject @Value("WEB-INF/${tapestry.app-name}.properties") String appCatalog
> I changed it to
> @Inject
> @Value("WEB-INF/${"+InternalConstants.TAPESTRY_APP_NAME_SYMBOL+"}.properties")
> String appCatalog
> and then into
> @Inject @Symbol(InternalConstants.TAPESTRY_APP_NAME_SYMBOL) String appName
> ....
> String appCatalog = "WEB-INF/"+appName+".properties";
> not that this is a big deal or anything, just a small fix...
--
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]