Re: [5.3.6] Overriding application default value issue
That's a very good way to solve it. Thank you :) Yet I think this can be improved somehow. On Wed, Jan 9, 2013 at 8:54 PM, wrote: > Just as a hint, are you familiar with contributeFactoryDefaults vs. > contributeApplicationDefaults? > I believe the way to do this is to have one symbol per module and chain it > somehow. > I realize I am vague here but I don't have a clear solution for you. > > Muhammad Gelbana ** wrote:** > > I have multiple modules overriding the home page application-defaults > > value. Some modules "override" that value but there is a case when the > > module that overrides the home page value, is the only module loaded so > > "overriding" the value throws an exception and the application fails to > > start, because overriding an unset value is considered an error. > > > > Is there a way to override the home page value only in case its set, > else, > > just set it ? > > > - > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org >
Re: [5.3.6] Overriding application default value issue
Just as a hint, are you familiar with contributeFactoryDefaults vs. contributeApplicationDefaults?I believe the way to do this is to have one symbol per module and chain it somehow.I realize I am vague here but I don't have a clear solution for you.Muhammad Gelbana wrote:> I have multiple modules overriding the home page application-defaults> value. Some modules "override" that value but there is a case when the> module that overrides the home page value, is the only module loaded so> "overriding" the value throws an exception and the application fails to> start, because overriding an unset value is considered an error.> > Is there a way to override the home page value only in case its set, else,> just set it ? - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
[5.3.6] Overriding application default value issue
I have multiple modules overriding the home page application-defaults value. Some modules "override" that value but there is a case when the module that overrides the home page value, is the only module loaded so "overriding" the value throws an exception and the application fails to start, because overriding an unset value is considered an error. Is there a way to override the home page value only in case its set, else, just set it ?