I’m probably doing something wrong here, but at present I have a bunch of Model Object I wire up with WireBox like so:
map(“model.Blah”).to(“BlahService”).asSingleton();
I’d like to instead put them in CacheBox, like so:
map(“model.blah”).to(“BlahService”).inCacheBox(timeout=60,provider=“myCache”);
However, when I do this, I get an error:
CookieStorage is undefined
In model.blah, I have:
Do I need to do something different here?
I’m probably doing something wrong here, but at present I have a bunch of Model Object I wire up with WireBox like so:
map(“model.Blah”).to(“BlahService”).asSingleton();
I’d like to instead put them in CacheBox, like so:
map(“model.blah”).to(“BlahService”).inCacheBox(timeout=60,provider=“myCache”);
However, when I do this, I get an error:
CookieStorage is undefined
In model.blah, I have:
Do I need to do something different here?
Hmm, when I turn that on I just get pages and pages and pages of logging!!
lmajano
4
Well, try to see what happens when wiring that model object
Luis F. Majano
CEO
Ortus Solutions, Corp
www.ortussolutions.com
ColdBox Platform: http://www.coldbox.org
Linked In: http://www.linkedin.com/pub/3/731/483
Blog: http://www.luismajano.com
IECFUG Manager: http://www.iecfug.com
Social: twitter.com/lmajano facebook.com/lmajano