use of org.pentaho.platform.uifoundation.component.BaseUIComponent in project pentaho-platform by pentaho.
the class HttpServletRequestHandler method handleUIRequest.
public void handleUIRequest(final IUIComponent component, final String contentType) throws IOException {
IContentItem contentItem = getOutputHandler().getOutputContentItem(IOutputHandler.RESPONSE, IOutputHandler.CONTENT, getInstanceId(), null);
OutputStream outputStream = contentItem.getOutputStream(this.getActionPath());
((BaseUIComponent) component).setUrlFactory(urlFactory);
component.handleRequest(outputStream, this, contentType, getParameterProviders());
}
Aggregations