Re: Custom symbol in AppModule fetched from another service

2014-03-04 Thread Daniel Jue
First, I'd make your own enum so you don't have misspellings of the keys. public enum MyEnum{ MYKEY } Then: contributeApplicationDefaults(MyEnum.MYKEY,"") Then you can do this elsewhere: @Symbol(MyEnum.MYKEY) private boolean theKey; On Tue, Mar 4, 2014 at 5:17 AM, Emma

Re: Custom symbol in AppModule fetched from another service

2014-03-04 Thread Emmanuel DEMEY
Just use a constant java class like the Tapestry SymbolConstants. 2014-03-04 10:38 GMT+01:00 Chris Mylonas : > Hi All, > > I want to want to > contributeApplicationDefaults("myKey","") in AppModule > for use across the application. > > How do i get "myKey" out of my configura

Custom symbol in AppModule fetched from another service

2014-03-04 Thread Chris Mylonas
Hi All, I want to want to contributeApplicationDefaults("myKey","") in AppModule for use across the application. How do i get "myKey" out of my configuration? Is that what it's there for, custom stuff as well as the tapestry symbols? Cheers Chris