CONNER, BRENDAN (SBCSI) wrote:
But in the EL, you still use the *property name* not the accessor
method.
That's not completely true, is it? We have getAbc() and isXyz() methods
that have no corresponding property in the class, and we reference them
fine using #{myBean.abc} and #{myBean.xyz} notation. So, as far as I
can see, JSF just mechanically translates myBean.abc to myBean.getAbc()
or myBean.isAbc(), depending upon the context.
The data storage things declared on a class are "members" or "fields".
Properties are logical entities, which usually map to object members.
However a "property" can also be a dynamically computed value.
Regards,
Simon