Skip to main content
April 23, 2007
Question

Define datatype w/o creating a new instance

  • April 23, 2007
  • 1 reply
  • 261 views
Is it possible to define a datatype without create a new instance of one and repopulating?

I am passing a bean where a couple of the properties are arrays of other beans. Because of this i am unable to access the getter/setter methods of the bean as the data type object isn't defined. If i can define the data type object when its received then i'll have access to those getter/setters.

Thanks!
This topic has been closed for replies.

1 reply

Inspiring
April 24, 2007
Just to confirm, are you trying to access the array of beans or the individual beans inside the array? What happens when you <cfdump> the value of one of those array elements? Does it expose any set/get methods?