Hi, is it intentional that if a class directly extends MarkupContainer, but does not have any children, then its associated markup is not rendered?
When using public class FooMarkupContainer extends MarkupContainer implements IMarkupCacheKeyProvider { public FooMarkupContainer(String id) {super(id);} @Override public String getCacheKey(MarkupContainer container, Class<?> containerClass) {return null;} } with markup <div>Foo works!</div> or anything, nothing appears on the page. It seems the javadoc of MarkupContainer is not entirely clear on this: http://ci.apache.org/projects/wicket/apidocs/6.x/org/apache/wicket/MarkupContainer.html "Markup Rendering - A MarkupContainer also holds/references associated markup which is used to render the container. As the markup stream for a container is rendered, component references in the markup are resolved by using the container to look up Components in the container's component map by id. Each component referenced by the markup stream is given an opportunity to render itself using the markup stream. " --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org