HTML Formatting

Options
kosta
edited February 11, 2022 in Analytics #1
Hello BIRT community,<br />
<br />
I have a simple question. using BIRT 2.6.2 and a TextItem.<br />
<br />
I know that in the text item you can output parameter with HTML content like: <br />
<pre class='_prettyXprint _lang-auto _linenums:0'><VALUE-OF format="HTML">params["myParam"].value</VALUE-OF></pre>
<br />
But using the same parameter in the onCreate-method of the same TextItem I get the non formatted HTML in the report.<br />
<pre class='_prettyXprint _lang-auto _linenums:0'>this.text = params["myParam"].value;</pre>
<br />
How the HTML content can be also parsed like using it in the textItem content area.<br />
<br />
Thanks for any hints and suggestions.
Warning No formatter is installed for the format ipb

Comments

  • kclark
    kclark E
    edited December 31, 1969 #2
    Options
    I haven't test it but I think if you open up the UI to your text item and set it to HTML it should display your html correctly by using this.text
    Warning No formatter is installed for the format ipb