On 9/12/06, Jared Rypka-Hauer <[EMAIL PROTECTED]> wrote:
Fortunately, Joe introduced the <include /> tag in MG 2.0, so it's not really 
an issue for MG.

I think Sean's saying he wants an include tag in the ColdSpring XML and to have 
CS actually handle it appropriately.

Correct.

I think it's a great idea, but unless the Spring DTD actually allows it I think we're in 
for an uphill battle getting some folks to accept be because "Springiness" 
seems to be a big goal of the project.

Well, <constructor-arg> is already a departure (because of the named
argument) and aren't there a few others already? And talk of adding
support for Java objects and web service objects which is also sort of
a departure isn't it?

I understand the desire to remain close to Spring and I think that's
advisable but it shouldn't block us from doing something powerful and
idiomatic for ColdFusion that is perhaps less applicable to Java...

Does the loadBeansFromXML() method give you the ability to load more than one 
XML config file?

Yes, but if you read my original request, you should see why that
won't work in this case... :)

If so, you COULD just call it from a controller more than once to set up your standard 
"includes"

Not for stuff that you are relying on CS injecting into your
controllers - which is the use case I have. I want X injected into my
controllers but X depends on a common definition Y. Y is common across
all my MG apps (X is actually specific to each MG app) and I can't use
a parent bean factory for Y because a definition for Y already exists
in the MG configuration that I need to override.
--
Sean A Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/

"If you're not annoying somebody, you're not really alive."
-- Margaret Atwood

Reply via email to