[richfaces-issues] [JBoss JIRA] Created: (RF-9892) CDK duplicate methods generated in the Tag class, if first attribute word is just one letter long.

Paulo Pinto (JIRA) jira-events at lists.jboss.org
Thu Dec 2 03:28:04 EST 2010


CDK duplicate methods generated in the Tag class, if first attribute word is just one letter long.
--------------------------------------------------------------------------------------------------

                 Key: RF-9892
                 URL: https://jira.jboss.org/browse/RF-9892
             Project: RichFaces
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: CDK
    Affects Versions: 3.3.3.Final
            Reporter: Paulo Pinto


I have the following situation:

- Attribute accessor methods are declared on the component base class as abstract methods, to allow its access on the render class;
- Then the attribute is also declared on the component config file

This is a common pattern in CDK generated components, and it usually works. Now if the attribute has a composed name (somethingLikeThis) where
the first word is one letter long (xAxis), then duplicate methods are generated in the Tag class.

I will attach one example CDK project that shows the error. If you rename the xTitle attribute to something else, which uses more than just x for the first
word, the CDK will generate proper code.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the richfaces-issues mailing list