public Renderable renderDefinition(final String definitionName) {
return new AbstractDefaultToStringRenderable(getVelocityContext(),
null, getResponse(), getRequest()) {
public boolean render(InternalContextAdapter context, Writer writer) {
Request velocityRequest = createVelocityRequest(
getServletContext(), writer);
TilesContainer container = TilesAccess
.getCurrentContainer(velocityRequest);
container.render(definitionName, velocityRequest);
return true;