Here is a fun alternative to declaring public instance variables to
hold binding values in a WOComponent subclass:
public NSMutableDictionary dynamicData = new NSMutableDictionary();
public Object handleQueryWithUnboundKey(String key) {
Object result = dynamicData.objectForKey(key);
// Helps to find typing errors in bindings
if (result == null) NSLog.out.appendln("no value found for key " +
key);
return result;
}
public void handleTakeValueForUnboundKey(Object value, String key) {
dynamicData.setObjectForKey(value, key);
}