Re: CF8 Java Problem, Works on CF7

2007-11-30 Thread Matthew Lesko
Sorry, pseudo-code I posted lacks some of the extensions and interface implementations going on in the actual code. Was more as an example, hoping someone else had already run into the same problem. I ended up have the Inner class act as a decorator and implement methods with the same names,

Re: CF8 Java Problem, Works on CF7

2007-11-30 Thread Matthew Lesko
Sorry, pseudo-code I posted lacks some of the extensions and interface implementations going on in the actual code. Was more as an example, hoping someone else had already run into the same problem. I ended up have the Inner class act as a decorator and implement methods with the same names,

CF8 Java Problem, Works on CF7

2007-11-28 Thread Matthew Lesko
See the class definitions below. In CF7 if create an instance of Outer, say outer, and code: outer.getInner().getID() things are fine. In CF8, I get the error The getID method was not found. If I cfdump outer in CF8 I see className: Outer$Inner Methods: [list of methods and return

re: CF8 Java Problem, Works on CF7

2007-11-28 Thread Kevan Stannard
Matthew, I gave this a try using your mock classes and it work fine for me, however a dump of outer.getInner() showed Class Name: Outer$Inner Parent Class: AbstractDecorator Class Name: AbstractDecorator Methods: getID() int Parent Class: Wrapped Class Name: Wrapped Methods: getID() int