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 2007/12/06 10:20:43 UTC
[jira] Updated: (TAPESTRY-1964) Constant not used from app-name in
TapestryModule
[ https://issues.apache.org/jira/browse/TAPESTRY-1964?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Davor Hrg updated TAPESTRY-1964:
--------------------------------
Attachment: TAPESTRY-1964.patch
the fix for current trunk
> 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
> Priority: Trivial
> Fix For: 5.0.7
>
> 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: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org