newContext.setSchema(schema == null ? null : schema.getName());
    protected HtmlComponent renderValue(Object value, Class type, Schema schema, String layout, Properties properties) {        MetaObject metaObject = MetaObjectFactory.createObject(value, schema);        PresentationContext newContext = getContext().createSubContext(metaObject);        newContext.setLayout(layout);        newContext.setProperties(properties);                RenderKit kit = RenderKit.getInstance();        return kit.render(newContext, value, type);    }