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 -
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
2 matches
Mail list logo