5.0.0.44 has *neither* createComponent() or loadComponent()?

G’day:
I just tried this code on 5.0.0.44:

o = loadComponent("C");

This gave an error:

Lucee 5.0.0.44 Error (expression)MessageNo matching function
[LOADCOMPONENT] foundStacktraceThe Error Occurred in
C:\apps\lucee\5.0\express\webapps\ROOT\shared\scratch\blogExamples\lucee\5\cfcs\loadcomponent\usingLoadComponent.cfm:
line 2

1:
*2: o = loadComponent(“C”); *
3:

So I changed the code back to this:

o = createComponent("C");

And now I get this error:

Lucee 5.0.0.44 Error (expression)MessageNo matching function
[CREATECOMPONENT] foundStacktraceThe Error Occurred in
C:\apps\lucee\5.0\express\webapps\ROOT\shared\scratch\blogExamples\lucee\5\cfcs\loadcomponent\usingLoadComponent.cfm:
line 2

1:
*2: o = createComponent(“C”); *
3:

Micha, have you taken your ball and gone home? ;-)–
Adam

We changed it to ObjectNew, JavaNew and WebservuceNew, will update the wiki
asap and in the Lucee reference you will find it. (/lucee/doc.cfm)

MichaAm Samstag, 18. April 2015 schrieb Adam Cameron :

G’day:
I just tried this code on 5.0.0.44:

o = loadComponent("C");

This gave an error:

Lucee 5.0.0.44 Error (expression)MessageNo matching function
[LOADCOMPONENT] foundStacktraceThe Error Occurred in
C:\apps\lucee\5.0\express\webapps\ROOT\shared\scratch\blogExamples\lucee\5\cfcs\loadcomponent\usingLoadComponent.cfm:
line 2

1:
*2: o = loadComponent(“C”); *
3:

So I changed the code back to this:

o = createComponent("C");

And now I get this error:

Lucee 5.0.0.44 Error (expression)MessageNo matching function
[CREATECOMPONENT] foundStacktraceThe Error Occurred in
C:\apps\lucee\5.0\express\webapps\ROOT\shared\scratch\blogExamples\lucee\5\cfcs\loadcomponent\usingLoadComponent.cfm:
line 2

1:
*2: o = createComponent(“C”); *
3:

Micha, have you taken your ball and gone home? :wink:


Adam


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/848c16e7-ff2e-4116-bbce-583d3458384b%40googlegroups.com
https://groups.google.com/d/msgid/lucee/848c16e7-ff2e-4116-bbce-583d3458384b%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.