Hi Peter, Yep, sounds good ty. I'll give that a go.
shuns ----- Original Message ----- From: Peter J. Farrell To: mach-ii-for-coldfusion@googlegroups.com Sent: Monday, November 17, 2008 4:51 PM Subject: [Mach-II] Re: Load mach-ii include programatically Net Grow - Shaun said the following on 11/16/2008 9:13 PM: Hi Peter, Thanks for the response. Where would I get the parsed xml from? Is that available as an argument somewhere? You'd have to load your xml file you want using cffile yourself and run XmlParse on it. You could however passed parsed XML for properties to the loadXML() to the PropertyManager. The 'configXML' attribute is expecting an XmlParse()'ed variable. I would file a ticket there if I was requesting a new feature, however in this case I was merely asking if there was a way to do something of that sort right now. Programatic includes was just one thought of the top of my head, not necessarily that I wanted it, more I was just thinking of one possible way to solve that as a problem. Nope, it's not possible to load an include at runtime programmatically at this time. I dare say that you guys working on the core will be able to come up with the most balanced solution when you get around to tackling it, I am just looking for the best way to solve the problem as of right now :) The suggestion regarding injecting parsed XML sounds pretty good, I'm just not sure where abouts to get it from ^.^ You'd have to write a property.cfc and read the file you want manually, XmlParse it and then call getAppManager().getPropertyManager().loadXml(variableWithParsedXml) .pjf --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to Mach-II for CFML list. To post to this group, send email to mach-ii-for-coldfusion@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/mach-ii-for-coldfusion?hl=en SVN: https://greatbiztoolsllc-svn.cvsdude.com/mach-ii/ Wiki / Documentation / Tickets: http://greatbiztoolsllc-trac.cvsdude.com/mach-ii/ -~----------~----~----~----~------~----~------~--~---