I found my answer by asking on the Liferay forums http://www.liferay.com/community/forums/-/message_boards/message/24039608
Liferay: Display Pentaho Report Designer HTML output in portlet
-
11-04-2022 - |
Frage
I'd like to integrate the HTML generated by the Pentaho Report Designer .prpt file into a portlet. The problem is that the HTML generated is a complete HTML page with <html>
, <head>
and body
tags.
How would I display such an output in a portlet?
Lösung 2
Andere Tipps
One way would be to parse the .prpt file and remove the markup which you don't want, then use the parsed file in your portlet. If the report files are always in the same format, you might be able to do this quickly with
String.replace
Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow