Thanks AllCall for the working examples. Would you file a ticket for me in
the project at Google Code with the updates? I'm away from my desk and I
don't want this to be forgotten.
On Feb 27, 2011 1:56 PM, "AllCall" <[email protected]> wrote:
> I was testing the new cfscript Java functionality and got the missing
> SEMICOLON at 'start' error when I was testing the examples at:
> http://www.openbluedragon.org/manual/?/cfscript_java.
>
> So I rewrote the example so that it will work.
>
> Before:
>
>
> <cfoutput>
> <cfscript>
> cfc1 = CreateObject("compj");
> cfc2 = new compj();
>
> cfc1.getStart() = #cfc1.getStart()#
> cfc2.getStart() = #cfc2.getStart()#
> cfc2.echo("alan") = #cfc2.echo("alan")#
> </cfscript>
> <cfoutput>
>
> After (working):
>
> <cfscript>
> cfc1 = CreateObject("compj");
> cfc2 = new compj();
>
> cfc1test = cfc1.getStart();
> cfc2test = cfc2.getStart();
> echotest = cfc2.echo("alan");
> </cfscript>
>
> <cfoutput> <br />
> #cfc1test# <br />
> #cfc2test# <br />
> #echotest# <br />
> </cfoutput>
>
> <cfdump var="#cfc2#">
>
> I am running openBDJam so I also had to upgrade to version 1.5, but
> that was easy!
>
> I think it's good to have bug free examples to test with so you know
> you are on the right track, when you are strugling with the class path
> and have to upgrade to version 1.5 to get it working.
>
> The abc test (http://www.openbluedragon.org/manual/?/
> plugin_cfscript_java#notes) worked after the upgrade.
>
> Great to have Java integration!
>
> --
> tag/function ref: http://www.openbluedragon.org/manual/
> mailing list - http://groups.google.com/group/openbd?hl=en
>
> Get to Texas in Feb for OpenCFSummit http://www.opencfsummit.org/

-- 
tag/function ref: http://www.openbluedragon.org/manual/
 mailing list - http://groups.google.com/group/openbd?hl=en

 Get to Texas in Feb for OpenCFSummit http://www.opencfsummit.org/

Reply via email to