HttpRequestParameterProvider parameterProvider = new HttpRequestParameterProvider( request );
String intro = ""; //$NON-NLS-1$
String footer = ""; //$NON-NLS-1$
IUITemplater templater = PentahoSystem.get( IUITemplater.class, userSession );
if ( templater != null ) {
String[] sections = templater.breakTemplate( "template-dialog.html", "", userSession ); //$NON-NLS-1$ //$NON-NLS-2$
if ( ( sections != null ) && ( sections.length > 0 ) ) {
intro = sections[0];
}
if ( ( sections != null ) && ( sections.length > 1 ) ) {
footer = sections[1];