if (getConverter() == null) { setConverter(isMultiple() ? DomainObjectKeyArrayConverter.class.getName() : DomainObjectKeyConverter.class.getName()); }
setConverter(getNextDomainObjectConverter());
    protected Object findObject() throws JspException {        if (getName() != null) {            Object object = super.findObject();                        // HACK: to ease the use of hidden slots            if (object instanceof DomainObject) {                if (getConverter() == null) {                    setConverter(isMultiple() ? DomainObjectKeyArrayConverter.class.getName() : DomainObjectKeyConverter.class.getName());                }                DomainObject domainObject = (DomainObject) object;                return MetaObjectFactory.createObject(domainObject, null).getKey().toString();            }                        return object;        }        else {            if (getOid() == null || getType() == null) {                throw new JspException("must specify at 'name' or 'oid' and 'type'");            }                        Object object = getPersistentObject();                        if (object == null) {                throw new JspException("could not find object " + getType() + ":" + getOid());            }                        return object;        }    }