All,

Any given tool gets an init(Object) call before it gets used. For "view"
tools, that object is a ViewContext. How can I pass configuration
parameters from the toolbox.xml file into the tools via the ViewContext
object?

It looks like the only attribute really used is the XHTML one, but
that's not tied to a tool -- it's tied to all tools, so it lives as an
attribute of the ViewContext.

I'd like to add a configuration parameter to the LinkTool, but I can't
seem to figure out if there's an existing mechanism to get parameters
from the toolbox.xml file into the actual tool during initialization.

Any tips?

Thanks,
-chris

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to