RE: getProperty problem

2002-12-13 Thread Greg Trasuk
Andrew: The beans spec says that property 'something' will be addressed through a getter method 'getSomething()' (note capitalization of 's'). So your getter method 'getMsg()' is referring to a property 'msg', not 'Msg'. Yes, when you capitalize 'Msg' you'll get 'Msg', but when Jasper

Re: getProperty problem

2002-12-13 Thread Andrew Guts
Greg Trasuk wrote: Changed 'private String msg' to private String Msg' Result is the same. I guess it doesn't matter for private fields. Andrew: The beans spec says that property 'something' will be addressed through a getter method 'getSomething()' (note capitalization of 's'). So your

Re: getProperty problem

2002-12-13 Thread Boris Folgmann
Andrew Guts wrote: Greg Trasuk wrote: Changed 'private String msg' to private String Msg' Result is the same. I guess it doesn't matter for private fields. Greg is right! I simply overlooked that, and you misunterstood him. 1. You CAN'T use properties that start with a Capital letter! 2.

Re: getProperty problem

2002-12-13 Thread Andrew Guts
Boris Folgmann wrote: Thanks you very much! I've appreciated your and Greg's answers. It was a real help. Andrew Andrew Guts wrote: Greg Trasuk wrote: Changed 'private String msg' to private String Msg' Result is the same. I guess it doesn't matter for private fields. Greg is right!