No it doesn't. If it did then it would have to do so in order of precedence, searching for a cfc of that name first and I can imagine it getting ugly if you accidently name clashed.

On 24/07/2012 04:03, Matthew Woodward wrote:
As I modernize the codebase for the admin console in anticipation of the next big release I will likely have numerous syntax questions, so I figured I'd ask them here so everyone can either help answer or benefit from the answers. Hopefully this will kill two birds with one stone and make the admin console a nice reference for all the new syntax that's been added since the last official build.

First in the list, can the "new" keyword be used to create Java objects? For example will this work?

foo = new com.naryx.tagfusion.xmlConfig.xmlCFML();

And if so, I noticed when you use new with CFCs you do not have to call init() since it's called automatically if it's present. Does init() still need to be called on Java objects?

Thanks.

--
Matthew Woodward
[email protected] <mailto:[email protected]>
http://blog.mattwoodward.com
identi.ca <http://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
--
online documentation: http://openbd.org/manual/
http://groups.google.com/group/openbd?hl=en

--
online documentation: http://openbd.org/manual/
http://groups.google.com/group/openbd?hl=en

Reply via email to