Overriding built-in CFCs

I’ve dealt with overriding built in functions and tags, but is there an
easy way to override built in CFCs at a server level such as
org.lucee.cfml.query?

Thanks

~Brad

You actually just have to replace them in the WEB-INF/lucee/components dir.

Regards

Mark Drew

develop • deploy • deliver
http://charliemikedelta.com ttp://charliemikedelta.com> On 27 May 2015, at 23:47, Brad Wood <@Brad_Wood> wrote:

I’ve dealt with overriding built in functions and tags, but is there an easy way to override built in CFCs at a server level such as org.lucee.cfml.query?

Thanks

~Brad


You received this message because you are subscribed to the Google Groups “Lucee” group.
To unsubscribe from this group and stop receiving emails from it, send an email to lucee+unsubscribe@googlegroups.com mailto:lucee+unsubscribe@googlegroups.com.
To post to this group, send email to lucee@googlegroups.com mailto:lucee@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/11462e8c-aa4a-41db-b2d6-d727323d546e%40googlegroups.com https://groups.google.com/d/msgid/lucee/11462e8c-aa4a-41db-b2d6-d727323d546e%40googlegroups.com?utm_medium=email&utm_source=footer.
For more options, visit https://groups.google.com/d/optout https://groups.google.com/d/optout.

Anyone else have any ideas on this one? To recap, I want want to be able
to override built in CFCs like new Query() at the server level.

Thanks!

~BradOn Thursday, May 28, 2015 at 9:21:33 AM UTC-5, Brad Wood wrote:

Thanks for the reply Mark. Isn’t the WEB-INF folder specific to a web
context though? I would like to do this at a server level. I also don’t
keep my WEB-INF in source control and want to be able to configure this
override for all current and future sites at the time I script out the
server build-- possibly prior to the first time the sites have been been
run.

There is a directory in the server context (I don’t know the name, I’m away
from keyboard ATM) every file put in that dir is deployed to every
webcontext , including future web context not existing yet.
I will let you know the directory when I’m back on my computer, it would be
great if you could do a short wiki entry about it.

MichaAm Freitag, 29. Mai 2015 schrieb Brad Wood :

Anyone else have any ideas on this one? To recap, I want want to be able
to override built in CFCs like new Query() at the server level.

Thanks!

~Brad

On Thursday, May 28, 2015 at 9:21:33 AM UTC-5, Brad Wood wrote:

Thanks for the reply Mark. Isn’t the WEB-INF folder specific to a web
context though? I would like to do this at a server level. I also don’t
keep my WEB-INF in source control and want to be able to configure this
override for all current and future sites at the time I script out the
server build-- possibly prior to the first time the sites have been been
run.


You received this message because you are subscribed to the Google Groups
“Lucee” group.
To unsubscribe from this group and stop receiving emails from it, send an
email to lucee+unsubscribe@googlegroups.com
<javascript:_e(%7B%7D,‘cvml’,‘lucee%2Bunsubscribe@googlegroups.com’);>.
To post to this group, send email to lucee@googlegroups.com
<javascript:_e(%7B%7D,‘cvml’,‘lucee@googlegroups.com’);>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/lucee/5f6de774-5ad3-47f6-8ff4-cd54fe9cf143%40googlegroups.com
https://groups.google.com/d/msgid/lucee/5f6de774-5ad3-47f6-8ff4-cd54fe9cf143%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

That sounds perfect Micha. Let me know what it is and I’ve love to help
get a wiki page on it. I searched for quite a while and couldn’t find
anything. These are the sweet little gems that people need to know about!

Hmm, I just had an idea for a new talk-- “Hidden Gems in Lucee”. I wonder
if Charlie A. will mind me stealing his tagline :slight_smile:

Thanks!

~Brad

ColdBox Platform Evangelist
*Ortus Solutions, Corp *

E-mail: brad@coldbox.org
ColdBox Platform: http://www.coldbox.org
Blog: http://www.codersrevolution.comOn Sat, May 30, 2015 at 7:11 AM, Michael Offner <@Michael_Offner> wrote:

There is a directory in the server context (I don’t know the name, I’m
away from keyboard ATM) every file put in that dir is deployed to every
webcontext , including future web context not existing yet.
I will let you know the directory when I’m back on my computer, it would
be great if you could do a short wiki entry about it.

Micha

Am Freitag, 29. Mai 2015 schrieb Brad Wood :

Anyone else have any ideas on this one? To recap, I want want to be able
to override built in CFCs like new Query() at the server level.

Thanks!

~Brad

On Thursday, May 28, 2015 at 9:21:33 AM UTC-5, Brad Wood wrote:

Thanks for the reply Mark. Isn’t the WEB-INF folder specific to a web
context though? I would like to do this at a server level. I also don’t
keep my WEB-INF in source control and want to be able to configure this
override for all current and future sites at the time I script out the
server build-- possibly prior to the first time the sites have been been
run.


You received this message because you are subscribed to the Google Groups
“Lucee” group.
To unsubscribe from this group and stop receiving emails from it, send an
email to lucee+unsubscribe@googlegroups.com.
To post to this group, send email to lucee@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/lucee/5f6de774-5ad3-47f6-8ff4-cd54fe9cf143%40googlegroups.com
https://groups.google.com/d/msgid/lucee/5f6de774-5ad3-47f6-8ff4-cd54fe9cf143%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.


You received this message because you are subscribed to a topic in the
Google Groups “Lucee” group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/lucee/ybe6an3zH6c/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
lucee+unsubscribe@googlegroups.com.
To post to this group, send email to lucee@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/lucee/CAG%2BEEBxHTXsKNqKvs6oFCj_uvPD_ktO%3DHtX8o2kMdMFuBP%3DwXA%40mail.gmail.com
https://groups.google.com/d/msgid/lucee/CAG%2BEEBxHTXsKNqKvs6oFCj_uvPD_ktO%3DHtX8o2kMdMFuBP%3DwXA%40mail.gmail.com?utm_medium=email&utm_source=footer
.

For more options, visit https://groups.google.com/d/optout.

There are two “components” folders. Can anyone tell me the difference
between them?

WEB-INF/lucee/components/
WEB-INF/lucee/context/components/

To fill in the “magic” directory Micha told me about. It is
/lucee-server/context/web-context-deployment/ but it copies
into WEB-INF/lucee/context/ which is a directory deeper than the components
folder Mark suggested I use.

Thanks!

~BradOn Saturday, May 30, 2015 at 1:17:01 PM UTC-5, Brad Wood wrote:

That sounds perfect Micha. Let me know what it is and I’ve love to help
get a wiki page on it. I searched for quite a while and couldn’t find
anything. These are the sweet little gems that people need to know about!

Hmm, I just had an idea for a new talk-- “Hidden Gems in Lucee”. I wonder
if Charlie A. will mind me stealing his tagline :slight_smile:

Thanks!

~Brad

ColdBox Platform Evangelist
*Ortus Solutions, Corp *

E-mail: brad@coldbox.org
ColdBox Platform: http://www.coldbox.org
Blog: http://www.codersrevolution.com

On Sat, May 30, 2015 at 7:11 AM, Michael Offner <@Michael_Offner> wrote:

There is a directory in the server context (I don’t know the name, I’m
away from keyboard ATM) every file put in that dir is deployed to every
webcontext , including future web context not existing yet.
I will let you know the directory when I’m back on my computer, it would
be great if you could do a short wiki entry about it.

Micha

Am Freitag, 29. Mai 2015 schrieb Brad Wood :

Anyone else have any ideas on this one? To recap, I want want to be
able to override built in CFCs like new Query() at the server level.

Thanks!

~Brad

On Thursday, May 28, 2015 at 9:21:33 AM UTC-5, Brad Wood wrote:

Thanks for the reply Mark. Isn’t the WEB-INF folder specific to a web
context though? I would like to do this at a server level. I also don’t
keep my WEB-INF in source control and want to be able to configure this
override for all current and future sites at the time I script out the
server build-- possibly prior to the first time the sites have been been
run.


You received this message because you are subscribed to the Google
Groups “Lucee” group.
To unsubscribe from this group and stop receiving emails from it, send
an email to lucee+unsubscribe@googlegroups.com.
To post to this group, send email to lucee@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/lucee/5f6de774-5ad3-47f6-8ff4-cd54fe9cf143%40googlegroups.com
https://groups.google.com/d/msgid/lucee/5f6de774-5ad3-47f6-8ff4-cd54fe9cf143%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.


You received this message because you are subscribed to a topic in the
Google Groups “Lucee” group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/lucee/ybe6an3zH6c/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
lucee+unsubscribe@googlegroups.com.
To post to this group, send email to lucee@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/lucee/CAG%2BEEBxHTXsKNqKvs6oFCj_uvPD_ktO%3DHtX8o2kMdMFuBP%3DwXA%40mail.gmail.com
https://groups.google.com/d/msgid/lucee/CAG%2BEEBxHTXsKNqKvs6oFCj_uvPD_ktO%3DHtX8o2kMdMFuBP%3DwXA%40mail.gmail.com?utm_medium=email&utm_source=footer
.

For more options, visit https://groups.google.com/d/optout.