Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

cfajaxproxy --> absolute path? 1

Status
Not open for further replies.

russland

Programmer
Joined
Jan 9, 2003
Messages
315
Location
CH
Hi,

The documentation of cfajaxproxy states that the reference to the cfc can be absolute.

I do have the authentication.cfc in a BLL directory which is placed way far from the directory where I invoke it. How do I refer in an absolut manner?

tried this, doesn't work
<cfajaxproxy cfc="/wr/lib/BLL_DAL/authentication" />
tried this, doesn't work
<cfajaxproxy cfc="wr.lib.BLL_DAL.authentication" />

thanks heaps
 
okay. we need to add the same path to the javascript code when invoking. so, no just to the cfajaxproxy attribute.

[for JavaScript]
var auth = new wr.lib.BLL_DAL.authentication();

[for CFML]
<cfajaxproxy cfc="wr.lib.BLL_DAL.authentication" />

hope this helps others, too.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top