Doug,
 
I noticed that the ReactorCompiler.cfc generates a bunch of output and uses the CFFLUSH tag to display output along the way.  I tried to create one of these objects on my Fusebox page and got errors because of the way I'm using the contentvariable stuff (cfflush doesn't work in a cfsavecontent tag).  So, I recommend a third argument to the run function, "doFlush", which is a boolean defaulted to true.  Then wrap all the cfflush tags in <cfif doFlush><cfflush /></cfif>...  Does this sound feasable?
 
Second, we have some requirements to not put usernames and passwords in cleartext in our source code.  So we've got these values encrypted in protected directories and only set our DSN usernames and passwords by using functions on variables in our source code.  Also, depending on who you are, when you log in to an app we check to see what application roles you have and give you either a read-only user, a general user, or an admin user id.  So, to get the reactor object set up, I've put our DSN in the Reactor.xml, but have left the username and password out of the xml file.  When creating the reactor object, I first create a reactorconfig object, load in the xml file to get the object relationships, then use the setUsername, setPassword methods to put the right info into the reactorconfig object.  Then I pass this object to the reactor.reactorFactory init() method.  However, this process does not work in the ReactorCompiler.cfc.  It needs the username and password in the clear in the Reactor.xml.  Is there any way the run() and/or init() methods in the compiler could use a config object like the main reactorFactory does?  I wish I knew more about how to write this stuff...
 
-matt
 

Matthew Newby
PNS Web Services
PH: 207-438-5263
email: [EMAIL PROTECTED]


When digitally signed, the signature is in accordance with DoDI 8520.2, dated 1 Apr 2004.

 

-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Reactor for ColdFusion Mailing List
[email protected]
Archives at: http://www.mail-archive.com/reactor%40doughughes.net/
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --

Reply via email to