Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
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?