[veltools] Toolbox parameters

2007-11-01 Thread Christopher Schultz
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

Re: [veltools] Toolbox parameters

2007-11-01 Thread Nathan Bubna
On 11/1/07, Christopher Schultz [EMAIL PROTECTED] wrote: 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? For Veltools

Re: [veltools] Toolbox parameters

2007-11-01 Thread Christopher Schultz
Nathan, Nathan Bubna wrote: For Veltools 1.x, in the tool: public void configure(Map params) { //TODO: extract and use params here } I'm an idiot. I totally missed that method and focused all my concentration on the init() method instead. Is there any particular reason that these two

Re: [veltools] Toolbox parameters

2007-11-01 Thread Nathan Bubna
On 11/1/07, Christopher Schultz [EMAIL PROTECTED] wrote: Nathan, Nathan Bubna wrote: For Veltools 1.x, in the tool: public void configure(Map params) { //TODO: extract and use params here } I'm an idiot. I totally missed that method and focused all my concentration on the init()