This will be a double post for any of you on the Yahoo! discussion list
for CFAjax, so I apologize for that.
I'm using CFAjax on a project right now. It's really pretty cool, but I
do have one big question for those of you who have already been using
it. I have a bunch of functions which have already been stored in the
request, session or application scopes. Is there any way that instead of
pointing to a file for the _cfScriptLocation variable, that I can
specify the location of the function as application or request or
session??? If not currently possible, this would be an outstanding bit
of functionality, as I'd be able to keep all my functions in my cfc's
and just write them into the proper scope.
Secondarily, if I've created an instance of a cfc likened to this:
privObj = createObject("component",
"#request.componentRoot#.privilege").init();
on a page called pipeline.cfm, could I use pipeline.cfm as the
_cfScriptLocation value and then just use "privObj.isOperator" as the
function to call (assuming "isOperator" is a function from the privObj
component)?
Thanks,
Ferg
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking
application. Start tracking and documenting hours spent on a project or with a
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:219606
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54