Re: No getter - method order bug?

2002-03-13 Thread keithBacon
Hi Jon, Good debugging! I'd like to see some clear rules about struts bean properties, so here's my attempt. (Not having read the bean spec very carefully!). 1 - If you want something treated as a property you must have get set methods even if you won't call them both (from bean spec). 2 -

Re: No getter - method order bug?

2002-03-13 Thread Jon Ferguson
Keith, I suspect its more like if you overload you must overload both get and set.. eg.. if it takes an int there should be one that returns an int?.. Actually this all falls down when you consider properties of arrays.. you can return the whole array or one item.. but then the pattern is to