Andreas Oberhack wrote:
I just built the userdefined context example in merlin - which works fine.
Now I would like to pass a string parameter to the new context class through the block.xml or .xinfo file.
How can I do that?
Presumably you have a Contextualizable component and you have declared the context entry tag - e.g. @avalon.entry key="special". Now over to the container side ...
<component name="demo" class="MyComponent">
<context>
<entry key="special">
<constructor>Hello</constructor>
</entry>
</context>
</component>Cheers, Steve.
--
Stephen J. McConnell mailto:[EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
