On 5/10/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> jason, this is how i access the debugging scope:
>
> <cflock name="serviceFactory" type="exclusive" timeout="10">
> <cfscript>
> factory = CreateObject("java", "coldfusion.server.ServiceFactory");
> </cfscript>
> <cfdump var="#factory.DebuggingService.getDebugger().getData()#">
> </cflock>
Hi Grant,
I think the idea of creating the admin api was to avoid using the
undocumented service factory. However, after complaining to MM about
the lack of documentation on the arg types, values, defaults, etc in
the admin api they're added it as a documentation bug.
I've also found another interesting issue that seems like a bug in the
mail class. When I add a mail server as follows, for some reason it
appends the server port (:25) to the server string in the admin GUI.
When you test the mail server connection it fails. What's with that?
// create mail object
mailObj = createObject("component","cfide.adminapi.mail");
// mail server properties
mailArgs = StructNew();
mailArgs.server = "mail.whatever.com";
// set setMailServer
mailObj.setMailServer(argumentCollection=mailArgs);
--
Jason Sheedy
www.jmpj.net
---
You are currently subscribed to cfaussie as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]
Aussie Macromedia Developers: http://lists.daemon.com.au/