Gabe,

ok.  here's what i've done with ToolboxManager. (if you want this as a
patch, let me know)

there's a couple things you'll probably notice.

first, i haven't touched the subject of logging yet.  i still need to think
about that.  let's just work on one thing at a time for now.

second, i changed the format of toolbox.xml slightly.  i think it is equally
informative and yet much cleaner like this.  any thoughts from you?  i
wasn't around when this project started, so i may be unaware of some reasons
for the way things were before.

other than that, the class is pretty much what i described as my goal in
previous emails.  it handles all three scopes (request, session, global)
efficiently, and also allows developers to specify the scope of their tools
in the config file.  also, it forces request and session tools to implement
ContextTool.

i tried it out on my velstruts app with FoodlistTool et al, and it worked
like a charm.  so, let me know what you think i guess.

Nathan Bubna
[EMAIL PROTECTED]

Attachment: ToolboxManager.java
Description: Binary data

Attachment: ContextTool.java
Description: Binary data

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to