if ( templatePath == null )
{
throw new PortletException( "No template for markup: " + markup );
}
VelocityService srv = ( VelocityService ) getPortletContext( ).getService( VelocityService.NAME );
srv.merge( templatePath, request, response );
if ( _log.isDebugEnabled( ) )
{
_log.debug( "request.pageContext=" + ( ( PortletRequestImpl ) request ).getPageContext( ) );
}