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, Emmanuel DEMEY <demey.emman...@gmail.com>wrote:

> Just use a constant java class like the Tapestry SymbolConstants.
>
>
> 2014-03-04 10:38 GMT+01:00 Chris Mylonas <ch...@opencsta.org>:
>
> > 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
> >
>
>
>
> --
> Emmanuel DEMEY
> Ingénieur Etude et Développement
> Worldline, an atos company
> +33 (0)6 47 47 42 02
> demey.emman...@gmail.com
>
>
> Twitter : @EmmanuelDemey
>

Reply via email to