Hi,
we are currently in the process of evaluating if upgrading our app from
Struts 2.1.6 to 2.1.8.1 is feasible. Currently it is not because various
things stopped working, but i'll like to work on one of them at a time.
We frequently (*very* frequently, actually) use property names such as
"mProperty" which are to be bound to class member variables of the same
name and get/set via methods called "getmProperty" and "setmProperty".
This practice deviates from the JavaBean rules for property access, i.e.
in this example, the getter would have to be called getMProperty and the
setter setMProperty (each with a capital M). Struts 2.1.6 was able to
map the property "mProperty" to calls to getmProperty and setmProperty,
respectively. Struts 2.1.8.1 apparently does not have this leniency (or
faulty behavior, depending on your POV...) and behaves strictly
according to what Introspector.decapitalize() does.
Since we (obviously) don't want to rename the myriads of
getters/setters, i'd like to know if there is a way around this, maybe
with a custom interceptor somewhere?
Robert
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org