RE: [coldbox:8834] wirebox question

You mean to vary the arguments at run time?

The getInstance method allows you to pass in initArguments. I would start there.

getInstance([name],[dsl],[initArguments])

~Brad

Brad,

Thats close. It does allow me to change the instance however what I need is a way to tell Wirebox to save my initWith arguments permanently like it does when its wired up.

Is there a command like setInstance where it would set the object back to Wirebox?

i hope I’m making sense as Wirebox is still really new to me.


Jeremy R. DeYoung
Phone: 615.261.8201

FacebookLinkedInGoogle ReaderTwitterAmazonGoogle
RantsFromAMadMan.com

I haven’t tried this in I’m not in front of a computer, but you should be able to ask wire box for the binder config and modify the mapping directly.

Brad!

sorry for being so naive at this but I wasn’t able to find a way to get Wirebox to give me the configs or modify the configs for an existing Mapped object. When you get a chance, could you give point me in the right direction with code?


Jeremy R. DeYoung
Phone: 615.261.8201

FacebookLinkedInGoogle ReaderTwitterAmazonGoogle
RantsFromAMadMan.com