Thanks Jared. <wibble> it is then :-)
Seriously though I'll stick to <include> from now on. I'm not sure where I got <view> from. Alan ________________________________ From: Jared Rypka-Hauer <[EMAIL PROTECTED]> To: [email protected] Sent: Monday, November 17, 2008 5:50:38 PM Subject: [Model-Glue] Re: model glue xml <view> or <include> Actually, having just looked thru the XmlConfigurationLoader in Unity, it would even work like this: <views> <wibble name="body" template="dspMyTemplate.cfm" /> </views> MG:U keys off the views xmlChildren array and doesn't bother checking the name of the tag... it just assumes that any subtag of views is valid or invalid based on the name and template attributes. It seems to be the same for a lot of the XML in the file. Interesting stuff, eh? If you want to see any of it for yourself, check out ModelGlue.unity.loader.XmlConfigurationLoader around lines 429-455. Incidentally, the XmlConfigurationLoader is the class that takes the parsed XML from your config file, loads up all the includes and then creates all the objects involved in processing requests. There is a lot going on in there... it's a pretty fascinating read. Laterz, J On Nov 17, 2008, at 5:10 AM, Alan Livie wrote: Hi Stephen. Nope. It's Unity and the <view> tag works! Alan --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "model-glue" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/model-glue?hl=en For more about Model-Glue, check http://www.model-glue.com . -~----------~----~----~----~------~----~------~--~---
