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
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
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
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
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
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
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
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
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
;>>
>>>tapestry.supported-locales
>>>de
>>>
>>> ..
>>>
>>>
>>> bongosdude schrieb:
>>>>
>>>> hardcoded value in AppModule.contributeApplicationDefaults meth
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 {
..
es
> de
>
> ..
>
>
> bongosdude schrieb:
>> hardcoded value in AppModule.contributeApplicationDefaults method is not
>> a
>> best practice.
>>
>> class AppModule {
>> ..
>> public static void contributeApplicationDefaults(
ppModule {
..
public static void contributeApplicationDefaults(
MappedConfiguration configuration ) {
configuration.add( SymbolConstants.SUPPORTED_LOCALES, "de,en" );
configuration.add( "tapestry.default-cookie-max-age", "31536
hardcoded value in AppModule.contributeApplicationDefaults method is not a
best practice.
class AppModule {
..
public static void contributeApplicationDefaults(
MappedConfiguration configuration ) {
configuration.add( SymbolConstants.SUPPORTED_LOCALES, "
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
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
---
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
17 matches
Mail list logo