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

2009-01-28 Thread Daniel Jue
ODUCTION_MODE, "false" ); >>>> } >>>> >>>> } >>>> >>>> I would like to put those values: PRODUCTION_MODE, cookie-max-age and >>>> SUPPORTED_LOCALES in a properties file (i.e. app.properties) and then >>>> get >>>> the values from that file. So in QA,

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

2009-01-28 Thread Geoff Callender
r...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org ----- B Amigo:super: -- View this message in context: http://www.nabble.com/How-Can-I-not-hardcode-value-in-contributeApplicationDefaults-method.-t

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

2009-01-28 Thread bongosdude
; -B >> >> >> >> - >> B Amigo:super: > > > ----- > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.o

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

2009-01-28 Thread Harald Geritzer
you can put them into your web.xml file: 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 { ..

How Can I not hardcode value in contributeApplicationDefaults method.

2009-01-28 Thread bongosdude
B Amigo:super: -- View this message in context: http://www.nabble.com/How-Can-I-not-hardcode-value-in-contributeApplicationDefaults-method.-tp21716553p21716553.html Sent from the Tapestry - User mailing list archive at Nabble.com.