Re: Contributing a Symbol Provider

2015-07-29 Thread Richard Kirby
hricht- > Von: Thiago H de Paula Figueiredo [mailto:thiag...@gmail.com] > Gesendet: Dienstag, 28. Juli 2015 16:56 > An: Tapestry users > Betreff: Re: Contributing a Symbol Provider > > On Tue, 28 Jul 2015 10:31:55 -0300, Poggenpohl, Daniel < > daniel.poggenp...@isst.fraunhofe

Re: Contributing a Symbol Provider

2015-07-28 Thread Thiago H de Paula Figueiredo
On Tue, 28 Jul 2015 10:31:55 -0300, Poggenpohl, Daniel wrote: Hello, Hi! I want to provide additional configuration on startup to my Tapestry application. I want to store the additional configuration in a file containing lines "key=value". I know I can contribute a symbol provider to l

Re: Contributing a Symbol Provider

2015-07-28 Thread Richard Kirby
Hi Daniel, I use the following sort of code: SymbolProvider provider = new MySymbolProvider(File configFile); ContributionDef contribution = new org.apache.tapestry5.internal.SyntheticSymbolSourceContributionDef("MyConfig", provider, "before:ApplicationDefaults"); ... RegistryBuilder builder =