PresentationContext newContext = getContext().createSubContext(slot); newContext.setLayout(slot.getLayout()); newContext.setProperties(slot.getProperties());
PresentationContext newContext = createPresentationContext(slot);
    protected HtmlComponent renderSlot(MetaSlot slot) {        PresentationContext newContext = getContext().createSubContext(slot);        newContext.setLayout(slot.getLayout());        newContext.setProperties(slot.getProperties());                Object value = slot.getObject();        Class type = slot.getType();                RenderKit kit = RenderKit.getInstance();         return kit.render(newContext, value, type);    }