if (obj.equals(object)) { option.setSelected(true); }
        public HtmlComponent createComponent(Object object, Class type) {            HtmlMenu menu = new HtmlMenu();                        RenderKit kit = RenderKit.getInstance();            Schema schema = kit.findSchema(getEachSchema());                         for (Object obj : getPossibleObjects()) {                MetaObject metaObject = MetaObjectFactory.createObject(obj, schema);                MetaObjectKey key = metaObject.getKey();                                HtmlMenuOption option = menu.createOption(null);                option.setValue(key.toString());                                if (getEachLayout() == null) {                    option.setText(getObjectLabel(obj));                }                else {                    PresentationContext newContext = getContext().createSubContext(metaObject);                    newContext.setLayout(getEachLayout());                    newContext.setRenderMode(RenderMode.getMode("output"));                                        HtmlComponent component = kit.render(newContext, obj);                                        option.setBody(component);                }            }                        Converter converter = getConverter();            if (converter != null) {                menu.setConverter(converter);            }                        menu.setTargetSlot((MetaSlotKey) getInputContext().getMetaObject().getKey());            return menu;        }