Re: Broke something! In contributeApplicationDefaults when adding tapestry5-jquery (jetty:run)

2012-04-03 Thread Chris Mylonas
and DevelopmentModule > > -- > View this message in context: > http://tapestry.1045711.n5.nabble.com/Broke-something-In-contributeApplicationDefaults-when-adding-tapestry5-jquery-jetty-run-tp5615255p5615332.html > Sent fr

Re: Broke something! In contributeApplicationDefaults when adding tapestry5-jquery (jetty:run)

2012-04-03 Thread trsvax
It looks like you might be contributing "tapestry.production-mode", false "tapestry.compress-whitespace", false in your AppModule and DevelopmentModule -- View this message in context: http://tapestry.1045711.n5.nabble.com/Broke-something-In-contributeApplicationDefaults-w

Broke something! In contributeApplicationDefaults when adding tapestry5-jquery (jetty:run)

2012-04-03 Thread Chris Mylonas
Tapes-Try, I broke something. Prior to adding tapestry5-jquery to my pom as per the suggestions on the Usage tab @ http://tapestry5-jquery.com/ I had some contributeApplicationDefaults added. Namely: configuration.add("tapestry.production-mode", false); configu

Re: T5: How to use context-param or init-param from web.xml in contributeApplicationDefaults?

2011-06-18 Thread Nillehammer
ing this for other symbols, at least "tapestry.app-package" :) On Fri, 17 Jun 2011 00:28:17 +0200, Nillehammer wrote: Hi List, I would like to replace the constant Strings in the method "contributeApplicationDefaults" in my AppModule. E.g. replace the following line: c

Re: T5: How to use context-param or init-param from web.xml in contributeApplicationDefaults?

2011-06-16 Thread Martin Strand
0:28:17 +0200, Nillehammer wrote: Hi List, I would like to replace the constant Strings in the method "contributeApplicationDefaults" in my AppModule. E.g. replace the following line: configuration.add(SymbolConstants.SUPPORTED_LOCALES, "en,de"); // don't like

Re: T5: How to use context-param or init-param from web.xml in contributeApplicationDefaults?

2011-06-16 Thread Nillehammer
tant Strings in the method "contributeApplicationDefaults" in my AppModule. E.g. replace the following line: configuration.add(SymbolConstants.SUPPORTED_LOCALES, "en,de"); // don't like the "en,de" here. Would like to replace it. with something configurable

Re: T5: How to use context-param or init-param from web.xml in contributeApplicationDefaults?

2011-06-16 Thread Lenny Primak
I use system properties. On Jun 16, 2011, at 6:28 PM, Nillehammer wrote: > Hi List, > > I would like to replace the constant Strings in the method > "contributeApplicationDefaults" in my AppModule. E.g. replace the following > lin

T5: How to use context-param or init-param from web.xml in contributeApplicationDefaults?

2011-06-16 Thread Nillehammer
Hi List, I would like to replace the constant Strings in the method "contributeApplicationDefaults" in my AppModule. E.g. replace the following line: configuration.add(SymbolConstants.SUPPORTED_LOCALES, "en,de"); // don't like the "en,de" here. Would l

PersistentLocale and contributeApplicationDefaults()

2010-09-16 Thread ppetroup
d that the locale is not included in the URL eg. http://localhost:8080/ultiac/user/searchpage if I manually change the URL to http://localhost:8080/ultiac/el/user/searchpage then it works fine. I have the following code in my AppModule public static void contributeApplicationDefaults(MappedCon

Re: How Can I not hardcode value in contributeApplicationDefaults method.

2009-01-28 Thread Daniel Jue
;>> >>>tapestry.supported-locales >>>de >>> >>> .. >>> >>> >>> bongosdude schrieb: >>>> >>>> hardcoded value in AppModule.contributeApplicationDefaults meth

Re: How Can I not hardcode value in contributeApplicationDefaults method.

2009-01-28 Thread Geoff Callender
quot; "http://java.sun.com/dtd/web-app_2_3.dtd";> MyApp tapestry.supported-locales de .. bongosdude schrieb: hardcoded value in AppModule.contributeApplicationDefaults method is not a best practice. class AppModule { ..

Re: How Can I not hardcode value in contributeApplicationDefaults method.

2009-01-28 Thread bongosdude
es > de > > .. > > > bongosdude schrieb: >> hardcoded value in AppModule.contributeApplicationDefaults method is not >> a >> best practice. >> >> class AppModule { >> .. >> public static void contributeApplicationDefaults(

Re: How Can I not hardcode value in contributeApplicationDefaults method.

2009-01-28 Thread Harald Geritzer
ppModule { .. public static void contributeApplicationDefaults( MappedConfiguration configuration ) { configuration.add( SymbolConstants.SUPPORTED_LOCALES, "de,en" ); configuration.add( "tapestry.default-cookie-max-age", "31536

How Can I not hardcode value in contributeApplicationDefaults method.

2009-01-28 Thread bongosdude
hardcoded value in AppModule.contributeApplicationDefaults method is not a best practice. class AppModule { .. public static void contributeApplicationDefaults( MappedConfiguration configuration ) { configuration.add( SymbolConstants.SUPPORTED_LOCALES, "

Re: contributeApplicationDefaults

2008-10-15 Thread Thiago H. de Paula Figueiredo
Em Wed, 15 Oct 2008 16:28:28 -0300, Tom Zurkan <[EMAIL PROTECTED]> escreveu: Why are application defaults not overridable? It seems perfectly logical that you would define something as a default in a sub module and then want to override it in the base application module. Am I missing so

contributeApplicationDefaults

2008-10-15 Thread Tom Zurkan
Why are application defaults not overridable? It seems perfectly logical that you would define something as a default in a sub module and then want to override it in the base application module. Am I missing something? Thanks, Tom ---

T5: inject Request into contributeApplicationDefaults

2008-01-29 Thread Chris Lewis
tatic void contributeApplicationDefaults(MappedConfiguration configuration) { /* Context-provided paths and resources. */ configuration.add("images.root", "context:img"); //.. configuration.add("blog.uploads.images", "${images.root}/img/bl