> can you tell me why you want to change the contribution?
> why not set it only once?
Alright, so maybe my response below is a little rant/flame. But really,
are you truly saying that Tapestry doesn't allow libraries to properly
set defaults, then allow users of the library to override those defaults??
<rant>
This is a library! A library needs to be able to set defaults, that
users of the library can override for their particular purposes. Else,
every setting becomes required for every user to set!
How does tapestry deal with Symbols? Do we have to always set
tapestry.production-mode, or page pooling configuration? Or with the
"default" mime-type of a page? Would you want to force everyone to set
the mime-type of every page to be "text/html"???
Tapestry MUST support a way to set defaults reliably for Symbols and
configurations reliably, and yet allow users of those to override them!
I really can't see any other way. Are you truly saying that this
basic use case can't be supported?
</rant>
Kristian Marinkovic wrote:
hi tom,
ordering is not possible because the service does not
use a ordered configuration. overriding of contributions
is also not supported. it worked accidentally in previous
versions :) the order in which the module classes are loaded
is not defined.... and usually not relevant.
can you tell me why you want to change the contribution?
why not set it only once?
g,
kris
Tom Zurkan <[EMAIL PROTECTED]>
03.10.2008 02:13
Bitte antworten an
"Tapestry users" <users@tapestry.apache.org>
An
users@tapestry.apache.org
Kopie
Thema
contributeMetaDataLocator ordering....
I am including the annotation SubModule.... In one of the sub modules I
call contributeMetaDataLocator and set up default values for my meta
data. In my AppModule, I also call contributeMetaDataLocator to
override the default. The problem is that my AppModule contribute is
being called first and then the submodule. Is there a way around this?
It worked in Tapestry5.11.
Thanks,
Tom
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]