We do not support script based component declarations like this.

not a huge priority feature to be honest ... it is style over function. There is a simple workaround, wrap it in a <cfcomponent>.

This is being worked on and maybe ready for 2.1 or (3.0)

Travis wrote:
I'm getting this error when I try to access a CFC.

All I'm trying to do is run a simple CFC.

component
        displayname="greetings"
        {
                function sayHello() {
                // the CFML code for the method will go here
                var strHelloMessage='Hello World';
                return strHelloMessage;
                }
        }


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

Reply via email to