[ http://issues.apache.org/jira/browse/BEEHIVE-988?page=all ]
Eddie O'Neil resolved BEEHIVE-988:
----------------------------------
Resolution: Fixed
This is fixed with SVN 327214. The correct property set prefix and root
property name are now put together and used to specify the JavaBean getter /
setter names.
> control bean's generated BeanInfo doesn't use correct property names in the
> presence of a @PropertySet.prefix attribute
> -----------------------------------------------------------------------------------------------------------------------
>
> Key: BEEHIVE-988
> URL: http://issues.apache.org/jira/browse/BEEHIVE-988
> Project: Beehive
> Type: Bug
> Components: Controls
> Versions: v1m1, V1
> Reporter: Eddie O'Neil
> Assignee: Eddie O'Neil
> Priority: Critical
> Fix For: 1.1
>
> This is a bit of an ugly bug in the controls where the use of the
> @PropertySet(prefix="foo") annotation doesn't result in generation of the
> correct BeanInfo file for the control. For example:
> @PropertySet(prefix="foo")
> public @interface MyProperties {
> public String aStringProperty();
> public int anIntProperty();
> }
> the generated property accessors are:
> getFooAStringProperty()
> getFooAIntProperty()
> but the BeanInfo only lists the property accessor methods as:
> getAStringProperty()
> getAIntProperty()
> When attempting to load a generated ControlBean using the
> java.beans.Introspector, the result is a stack trace about a missing property
> accessor. This is fixed by specifying the correct JavaBean property accessor
> methods in the BeanInfo file.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira