Hi again,
thank you all for your kind advice!
My responses follow:
@Josh: This lazy approach didn't work for me anyhow. I got just the same
NPEs. This really is kind of non-deterministic as it sometimes would work and
sometimes it wouldn't. I mean the whole
(applicationGlobals.getContext(),
configuration.properties), before:ApplicationDefaults);
}
but this does not work as described above: At this point of application
startup, the context (gotten by applicationGlobals.getContext() as shown
above) is null.
So I have two questions:
1) How to use
On Thu, Jul 21, 2011 at 10:27 AM, Erik Fäßler erik.faess...@uni-jena.de wrote:
Goal: Being able to configure my WebApp from
file rather than being forced to edit the code every time I change
deployment (from test to productive for instance;
You probably already know this, but you can set these
You can also set them from the command line:
-Dtapestry.production-mode=false
which is mostly how I choose to do it...
On Thu, Jul 21, 2011 at 11:35 AM, Mark mark-li...@xeric.net wrote:
On Thu, Jul 21, 2011 at 10:27 AM, Erik Fäßler erik.faess...@uni-jena.de
wrote:
Goal: Being able to
Hi!
I simply use this code for it:
public static void contributeApplicationDefaults(
MappedConfigurationString, String configuration) {
ResourceBundle bundle = ResourceBundle.getBundle(Cpu);
EnumerationString e = bundle.getKeys();
while