From: marcel.huijkman <mar...@ra...> - 2004-11-23 14:33:13
|
How to get the context into a ContextTool? I am playing with a ContextTool, which does a lot for me, but I want to be able to manipulate the context from within my too. I can do it in a dirty kind of way, by putting the context in a var "WM_CONTEXT" into the context. And if I have to get of set something, I'll do it like this in my template: $util.manipulate($WM_CONTEXT); But I was wandering if there isn't any better, cleaner way to do this? Can a ContextTool (that is loaded once) manipulate the exact context the end-user is playing with? - Marcel - PS. I start working for a java-company next year, so I hope to do more WM. |