Skip to Content
0
Apr 19, 2005 at 05:52 AM

including .js from scripts folder to iView

31 Views

Dear friends

I tried the codes as below to include .js file of script folder to iView

1.

<script src="/irj/portalapps/Kemvision/scripts/portal.js"></script>

2.

<%

String url = componentRequest.getWebResourcePath() + "/scripts/portal.js";

%>

<script src="<%=url%>"></script>

3.

<%String componentName = componentRequest.getComponentContext().getComponentName();String baseURL = componentRequest.getWebResourcePath(componentName);%><script language="JavaScript" src="<%= baseURL %>/scripts/porta.js"></script>

but no code are usefull to include the .js file into iView

can anybody got solution plz reply me

thanx

kantha