I'm having some difficulty with the registry. In the description it says it's a local store for objects and I understand it's a Map.
Are there limitation to what can be put in there? For example I hold the Client (logged in user) username for easy access. Here's some code:
Bear in mind RuleSetTasks/Editor are widgets I've created and RuleSetMap is a map. They hold references I can use from other Widgets. Any idea why the String is not being registered?
rules = new RuleSetMap();
tasks = new RuleSetTasks();
editor = new RuleSetEditor();
clientName = new String("svadmin");
Info.show("Client Name", "Something", (String)Registry.get("clientname"));
What would be the correct usage for the Registry. I want to able to use it as a global (Yuck!!!) store for a rough demo I'm doing.