|
I’ve noticed that if you modify the properties of a
parent CFC (in my case I added a new property) that the child CFC does not pick
up the new property automatically. Why is this and how do you overcome it? I created a very simple test where I had parent and child
CFCs where child extends parent. I placed a property in parent then
instantiated child CFC. I then called getMetaData(oChild) to see the makeup of
child and its inheritance. I saw the parent property. I then modified parent
CFC by adding a new property. I then refreshed my child instantiation and the
new parent property does not show up. No matter how many times I refreshed
page, the parent property does not show. I finally got the parent property to
show by simply saving the child CFC (note: I made no changed to child). After
saving child and refreshing instantiation, the new parent property appears. This seems like a major flaw. This also seems like a
caching issue. Am I missing something? Thanks Tom Schreck Applications Developer Dresser, Inc. 972-361-9943 |
<<attachment: image002.jpg>>
