Skip to Main Content

DevOps, CI/CD and Automation

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

how to add <script> tag inside outputHtml component

SCRUM_DEVELOPER95Dec 5 2017 — edited Dec 24 2017

Hello maf community,
I want to add a google map inside outputHtml in my amx page.
I know that I do not have permission to add <script> tag inside outputHtml  component, so I included a javascript file in my maf-feature.xml.
inside that javascript I only can call functions. I can not add <script> tag.
As you know map_key of google map is placed inside a <script> tag. how can I add a line like:

  <script src="https://maps.googleapis.com/maps/api/js?key=map_key;callback=initMap"

    async defer></script>

inside my javascript file ?
Sincerely.

This post has been answered by SCRUM_DEVELOPER95 on Dec 24 2017
Jump to Answer

Comments

Processing

Post Details

Added on Dec 5 2017
1 comment
194 views