Hi folks,

I have a function, which returns some HTML code as clob object. How can I display it in htmlRenderer component?

api_component.setURL sets the URL only, but I need to assign a source, not an URL.

Please let me know, Thanks, Tomas

asked 27 May '13, 02:44

Tomeo's gravatar image

Tomeo
162135
accept rate: 3%


Hi Tomas,

Try the htmlEditor component. This renders the html code inside a column.

Best, Michiel

link

answered 27 May '13, 03:21

Michiel%20A's gravatar image

Michiel A
5161541
accept rate: 13%

Hi Michiel,

thanks for the reply, I've changed object to htmlEditor, but having problem with setting a value.

I'm getting below error:

api_component.setValue => Invalid data type, expected "VARCHAR2" got "CLOB".

In PL/SQL:

api_component.setValue(in_paneldotcomponentname_tx => 'rep_df_vehicle_stats.reportRenderer',
                       in_value_cl => l_clob);

where l_clob stores html code.

Thanks, Tomas

link

answered 27 May '13, 04:19

Tomeo's gravatar image

Tomeo
162135
accept rate: 3%

Hi Tomas,

The "VARCHAR2" is default datatype for all Formspider components. There is a "domain" attribute in htmlEditor component. You may specify datatype of your component as CLOB.

Regards, Samet

(27 May '13, 04:33) Samet Basaran
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×3

Asked: 27 May '13, 02:44

Seen: 938 times

Last updated: 27 May '13, 04:33


© Copyright Gerger 2017