Jeff Bischoff wrote:
Madhav Bhargava wrote:
 > That is correct. It is a problem that i caused by property resolver. It
 > internally uses the Introspector to get all the properties and their
 > accessor methods and any other methods.
 >
 > In a special case like - "sOmeBean" this will cause a problem because of
 > decaptilization.

Is this really a "problem"? While nothing in the specs prohibits a property named "sOmeBean", it clearly violates the conventions established in the JavaBeans specification [1], section 8.8. As long as you follow the guidelines in this document, the Introspector should have no trouble handling your property names.

I should mention "qType" also violates that same convention. :)

[1] http://java.sun.com/products/javabeans/docs/spec.html

And for really tricky cases, you can always write a BeanInfo class to explicitly declare the properties available on a class.

Cheers,  Simon

Reply via email to