public void render() {
int nestLevel = context().nestLevel();
LOG.debug("Rendering {} @{}", getClass(), nestLevel);
render(block());
if (block.nestLevel() != nestLevel) {
throw new WebAppException("Error rendering block: nestLevel="+
block.nestLevel() +" expected "+ nestLevel);
}
context().set(nestLevel, block.wasInline());
}