Skip to main content
Inspiring
July 2, 2009
Question

passing an object to a cfc as an argument

  • July 2, 2009
  • 1 reply
  • 810 views

I am trying to pass an object of java.util.RegularEnumSet into a CFC as an argument. This object contains several methods, but when I try to use any of these methods inside the CFC it is telling me there is no such methods in my enum set. When I use these java methods outside of my cfc on a test page it works just fine, any ideas why I cant pass this java object into my cfc and use the object's methods? Thanks in advance.

This topic has been closed for replies.

1 reply

Inspiring
July 2, 2009

I'm guessing that cfc's were not designed with your intended use in mind.  Why don't you simply create an object inside your cfc?