Hi, actually no, I haven't even tried it, but it *must* collide with the enhancement stuff...
However, I came across the page "http://wiki.apache.org/tapestry/UsingCustomResourceSource", which provides quite a good solution. It "overrides" a default service implementation with a specific one in the applications hivemodule.xml. Kind of obvious, only I just didn't know if and how it works in Hivemind. Thanks to "http://jakarta.apache.org/hivemind/override.html", that's clearer now. And instead of the InjectMessagesWorker it overrides the ComponentMessagesSource, which is probably also a good idea. So I'm almost there. The only question remaining is: If I understand correctly, this will affect *all* components. Is there a way to achieve this behaviour just for my own, custom components? Thanks again, Lutz On 5/15/06, Paul Cantrell <[EMAIL PROTECTED]> wrote:
There is no obligation to use Hivemind if it is not appropriate to your problem. Hivemind is useful for decoupling parts of the system, and for making "aspecty" customization that cut across the framework. If you don't need decoupling, and don't need to customize across the whole framework, perhaps you don't need to bother with Hivemind. So there may be a Hivemind way to inject a different message worker into only certain classes, but I would guess overriding getMessages() is probably just fine. Did you try it? Does it work? Is it simple? If so, no worries! Cheers, P
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
