[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-1389) Please make the methods parse and createPage protected instead of private.

Chris Rudd (JIRA) jira-events at lists.jboss.org
Sun Jun 3 13:15:18 EDT 2007


Please make the methods parse and createPage protected instead of private.
--------------------------------------------------------------------------

                 Key: JBSEAM-1389
                 URL: http://jira.jboss.com/jira/browse/JBSEAM-1389
             Project: JBoss Seam
          Issue Type: Feature Request
          Components: Core
            Reporter: Chris Rudd


We have a dynamic routine that locates pages xml files from multiple locations.  Since parse and createPage are private methods we cannot override and extend the Pages component without lifting the entire source and replicating it, or using reflection to get at those methods. Neither of these are good long term aproaches.

In general it seems that lots of the core components that one might want to extend to hook in additional functionality cannot be due to the use of private instead of protected methods.

The extended funtionality provided by the resolution to JBSEAM-715 does not rectify my issue as that relies on explitly defining the pages xml files. I believe there are several other people who are looking for a way to use an algorithm to locate them rather than a fixed list. Making those methods protected solves the problem as it allows anyone to extend the functionaliry of the Pages component to provide extended rules / algorithms for locating pages xml files, while not affecting the functionality of the core at all.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the seam-issues mailing list