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


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]

Reply via email to