You should note that PropertyUtils.describe() simply delegates to the
standard JavaBeans introspection functionality to determine what the
properties of the bean class are ... and, based on the property method
naming rules, every Java class does indeed have a readonly property
named "class" due
On 7/26/05, Ed Griebel <[EMAIL PROTECTED]> wrote:
> I had this issue where class was getting populated. Since it was for
> logging display, I didn't want the long class name displayed and ended
> up removing 'class' from the map if it was in there. It's much easier
> than defining (and agreeing on!
I had this issue where class was getting populated. Since it was for
logging display, I didn't want the long class name displayed and ended
up removing 'class' from the map if it was in there. It's much easier
than defining (and agreeing on!) these "special" fields in an object.
The only change I
Laurie Harper wrote:
Tamas Szabo wrote:
it seems to you ok that the
org.apache.commons.beanutils.PropertyUtils.describe(Object )
method puts the class property(coming from java.lang.Object) in the map?
I'm not sure about this, but it would be more logical for me if the
class was not in the
Tamas Szabo wrote:
it seems to you ok that the
org.apache.commons.beanutils.PropertyUtils.describe(Object )
method puts the class property(coming from java.lang.Object) in the map?
I'm not sure about this, but it would be more logical for me if the
class was not in the Map(if it was not handle
Hi,
Are you saying that Bean should not extend Object?
No, I'm saying that that getClass() shouldn't be handled as a getter for
beans.
Actually I'm saying this but I'm not really sure of it that's why I
asked :-)
I had some code which get the properties of a bean, but I explicitly
check
: "Tamas Szabo" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List"
Sent: Tuesday, July 26, 2005 3:35 AM
Subject: [OT] org.apache.commons.beanutils.PropertyUtils.describe(Object )
Hi,
it seems to you ok that the
org.apache.commons.beanutils.PropertyUtils.describe
Hi,
it seems to you ok that the
org.apache.commons.beanutils.PropertyUtils.describe(Object )
method puts the class property(coming from java.lang.Object) in the map?
I'm not sure about this, but it would be more logical for me if the
class was not in the Map(if it was not handled as a normal
8 matches
Mail list logo