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: AW: Contributing a Symbol Provider

2015-07-28 Thread Thiago H de Paula Figueiredo
On Tue, 28 Jul 2015 15:19:33 -0300, Poggenpohl, Daniel wrote: Hi, Hi! I've implemented a working solution using the method on this page: http://wiki.apache.org/tapestry/Tapestry5HowToReadSymbolsFromPropertiesFile I implemented a SymbolProvider, a buildFileSymbolProvider method and a co

AW: Contributing a Symbol Provider

2015-07-28 Thread Poggenpohl, Daniel
t one? Should I prefer your method? What will happen when I use my method? Regards, Daniel P. -Ursprüngliche Nachricht- 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 Tu

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 =

Contributing a Symbol Provider

2015-07-28 Thread Poggenpohl, Daniel
Hello, 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 load a file and access the symbols this way. But I can't find the documenta