On Wed, Dec 30, 2009 at 7:24 AM, Hugo Ahlenius <[email protected]> wrote:

> I had a closer look at it now, and I saw that I actually misread it first,
> it is not in the OnRequestStart method that they are trying to do this,
> rather in a cfinclude in the Application.cfc body - which should only be
> executed once through the life of the application, right?
>

In theory yes, but wonder why they didn't just throw that code in the
OnApplicationStart method. I'd be curious to see specifically *how* they're
doing this though, because again, if they're using the Adobe CF admin API,
then that won't work with OpenBD. I've asked a few times if people wanted to
see a compatibility layer and there doesn't seem to be much interest, but
it's still on the to do list. Just not a high priority based on the apparent
lack of demand.


>
> Except that it would be nice to be able to dump the application settings...
>


Unless I'm missing what you're saying, the current application settings
would always be reflected in the admin console. You can also take a peek at
the admin console code to see some of the objects you could instantiate and
methods you could call to get at the setting programmatically. Or you could
grab bluedragon.xml and parse it for what you need.

Let me know if I'm misunderstanding what you're wanting to do or if you need
help with getting at specific settings programmatically. The API stuff on
the admin console needs a bit of cleanup but it's at least possible to get
at everything even as it stands now.
-- 
Matthew Woodward
[email protected]
http://mpwoodward.posterous.com
identi.ca/Twitter: @mpwoodward

Please do not send me proprietary file formats such as Word, PowerPoint,
etc. as attachments.
http://www.gnu.org/philosophy/no-word-attachments.html

-- 
Open BlueDragon Public Mailing List
 http://www.openbluedragon.org/   http://twitter.com/OpenBlueDragon
 mailing list - http://groups.google.com/group/openbd?hl=en

 !! save a network - please trim replies before posting !!

Reply via email to