I have a page containing html and JS code, meant to be embedded into portions of the page. Much like one would embed a twitter / facbook widget, but this time its data widgets from the World Bank.The issue is that the embedded codes seems not to be executing (not even in dev mode) because the output is not displayed. However, placing the code in a standard HTML markup, renders the chart widget and some inspection revealed that the chart is displayed in an iframe, which is no where to be found in the inspected DOM of the Errai page.
Any ideas how to handle this ?
Hey Charles,
I posted some code here that you can use to execute script tags in a template. As described in the comment, I tested the code with a youtube iframe so I think it should work for you.
Cheers.