[coldbox 3.5.0-BE] RequestContextDecorator guide

I’ve never actually used rcDecorators– and I’m hoping someone can give a bit of advice on how to use/implement them.

Currently, we’ve hacked the coldbox core to adjust the way viewsexternallocation works – we’ve reversed it, so it uses the external location if a view exists, else falls back to the standard views location. Now, obviously this isn’t ideal, as each time we update cbox we have to “reimplement” this hack.

I’m wondering whether I could use a rcDecorator for this instead?

Most of the docs relating to rcDecorators look a little old – all the config for example relates to coldbox.xml.

Furthermore, we’d like handlersexternallocation to work in the same way (use if a “custom” handler exists, else use the default).

Any help/advice would be welcomed.



Tom, can you explain what are you trying to accomplish?

Luis F. Majano
Ortus Solutions, Corp

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