Hi,

I used setUrl method of api_component package like this: api_component.setUrl ('rendererEastPanel.rendererEast', 'http://www.oracle.com');

but did not render anything. But some pages are rendered successfully. What can be wrong?

Thanks Vojto

asked 04 Aug '14, 08:10

vojto's gravatar image

vojto
96
accept rate: 0%


Hi Vojto,

Great to hear from you. htmlRenderer uses an iFrame to render its content. For security reasons, it is possible to restrict a web site from appearing in an iFrame from a different origin. This is controlled by a parameter called X-Frame-Options in the web page.

This is the error we receive in Formspider: Refused to display 'http://www.oracle.com/index.html' in a frame because it set 'X-Frame-Options' to 'SAMEORIGIN'.

So some web sites like google.com, oracle.com will not show up in iFrames.

Hope this helps.

Kind Regards,
Yalim

link

answered 04 Aug '14, 08:33

Yalim%20Gerger's gravatar image

Yalim Gerger ♦♦
1.8k5
accept rate: 15%

Hi Yalim,

thank you very much for your response. :) it helps me.

is there other way how to display pages like oracle.com for expample?

Thank you in advance,

Vojto

link

answered 04 Aug '14, 08:57

vojto's gravatar image

vojto
96
accept rate: 0%

Hi Vojto,

You can use the hyperLink component or api_appliacation.runto open the page in another browser tab. If you use api_application.run, make sure that you check the allow popups checkbox in the action that calls the api_application.run API.

Kind Regards,
Yalim

link

answered 04 Aug '14, 09:23

Yalim%20Gerger's gravatar image

Yalim Gerger ♦♦
1.8k5
accept rate: 15%

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:

×1

Asked: 04 Aug '14, 08:10

Seen: 816 times

Last updated: 04 Aug '14, 09:23

Related questions


© Copyright Gerger 2017