UUID uuid =
CpfAuditHelper.startAudit( PLUGIN_ID, xcdfFilePath, getObjectName(), this.userSession, this, requestParams );
try {
XcdfRenderer renderer = new XcdfRenderer();
boolean success = renderer.determineDashboardTemplating( xcdfFilePath, defaultTemplate );
if ( success ) {
String templatePath = Util.joinPath( FilenameUtils.getPath( xcdfFilePath ), renderer.getTemplate() );
if ( !StringUtils.isEmpty( defaultTemplate ) ) { // If style defined in URL parameter 'template'
renderHtmlDashboard( out, xcdfFilePath, templatePath, defaultTemplate, renderer.getMessagesBaseFilename() );
} else { // use style provided via .xcdf or default
renderHtmlDashboard( out, xcdfFilePath, templatePath, renderer.getStyle(),
renderer.getMessagesBaseFilename() );
}
setResponseHeaders( MimeTypes.HTML, 0, null );
} else {