Depends on the direction in which you look at it--I think he means style
over function, meaning <cfcomponent> vs. component { is a stylistic thing.
Full script notation doesn't offer you anything in terms of functionality
that you don't get from the cfcomponent tag.On Mon, Nov 14, 2011 at 5:19 AM, nitish pandey <[email protected]>wrote: > I think you meant function over style.right? > > 2011/11/14 Alan Williamson (aw2.0 cloud experts) <[email protected]> > > 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<http://groups.google.com/group/openbd?hl=en> >> > > > > -- > -Nitish > "Faith is a free Option" > http://www.forcesofindia.com/profiles/np > > -- > official tag/function reference: http://openbd.org/manual/ > mailing list - http://groups.google.com/group/openbd?hl=en > -- Matthew Woodward [email protected] http://blog.mattwoodward.com identi.ca / Twitter: @mpwoodward Please do not send me proprietary file formats such as Word, PowerPoint, etc. as attachments. http://www.gnu.org/philosophy/no-word-attachments.html -- official tag/function reference: http://openbd.org/manual/ mailing list - http://groups.google.com/group/openbd?hl=en
