log.info(choices);
    public NSArray availableElements(){        if(_availableElements==null){            Object choices = valueForBinding("possibleChoices");            log.info(choices);            if(choices != null) {                NSMutableArray keyChoices = new NSMutableArray();                if(choices instanceof NSArray) {                    for(Enumeration e = ((NSArray)choices).objectEnumerator(); e.hasMoreElements(); ) {                        NSDictionary dict = (NSDictionary)e.nextElement();                        String key = (String)dict.allKeys().lastObject();                        String value = (String)dict.objectForKey(key);                        keyChoices.addObject(new ERXKeyValuePair(key, ERXLocalizer.currentLocalizer().localizedStringForKeyWithDefault(value)));                    }                } else if(choices instanceof NSDictionary) {                    NSArray keys = ((NSDictionary)choices).allKeys();                    keys = ERXArrayUtilities.sortedArraySortedWithKey(keys, "toString");                    for(Enumeration e = keys.objectEnumerator(); e.hasMoreElements(); ) {                        String key = (String)e.nextElement();                        String value = (String)((NSDictionary)choices).objectForKey(key);                        keyChoices.addObject(new ERXKeyValuePair(key, ERXLocalizer.currentLocalizer().localizedStringForKeyWithDefault(value)));                    }                }                _availableElements = keyChoices;            }            if(_availableElements==null){                if(log.isDebugEnabled()) log.debug("key ="+key());                String keyForAvailableObjects = key()+"Available";                entityForReportName = (String)valueForBinding("entityNameForReport");                _availableElements =                    ERDirectToWeb.displayableArrayForKeyPathArray((NSArray)object().valueForKeyPath(keyForAvailableObjects),                                                                  entityForReportName, ERXLocalizer.localizerForSession(session()).language());            }            if(log.isDebugEnabled()) log.debug("availableElements = "+_availableElements);        }        return _availableElements;    }