|
From: Samuel, M. M <Sam...@ed...> - 2000-11-06 04:52:44
|
Sorry for answering my own post, but I found the problem....
:)
-----Original Message-----
From: Samuel, Michael M [mailto:Sam...@ed...]
Sent: Monday, 6 November 2000 3:15 PM
To: 'dyn...@li...'
Subject: [Dynapi-Help] setURL issue
Hello all!
I've created what is essentially a form for users to search, fill out etc.. I
created and tested everything in the one directory - but have since moved it
into the following structure. This is being designed as a re-usable component in
many web sites.
I have a file which defines some ASP variables, and then calls an include file,
which is in the Include directory off the root. Since moving my files there, the
setURL function no longer works - it appears it doesn't like calling HTML files
from other directories that it's own.
Is this the case? Is there a work around to enable me to call html files from
other directories?
The current (non-working) js is:
instructContentsLayer.setURL('\Include\wac\wac_save.asp?strGrant='+strExplicitAl
low+'&strDeny='+strImplicitDeny+'&strResource=<% Response.Write(strResource)
%>&strSub_ID=<% Response.Write(strSub_ID) %>')
what worked was:
instructContentsLayer.setURL('wac_save.asp?strGrant='+strExplicitAllow+'&strDeny
='+strImplicitDeny+'&strResource=<% Response.Write(strResource) %>&strSub_ID=<%
Response.Write(strSub_ID) %>')
The files are there - and correctly referenced AFAIK, it's just not reading
through the directory tree....
Thanks for your help!
Mike
|