Skip to Main Content

Java Development Tools

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!

how to add script tag with src dynamically in oracle adf

875205Jan 12 2017 — edited Jan 12 2017

Jdev: studio version 11.1.1.9.0

is there a way to add javascript from an external source dynamically from a bean method ?

something similar to

<script type="text/javascript" src="resources/js/mytest.js"/>

is the following code has option only to add inline Javascript ?

ExtendedRenderKitService erks =

        Service.getRenderKitService(context, ExtendedRenderKitService.class);

        erks.addScript(context, script);

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 9 2017
Added on Jan 12 2017
0 comments
319 views