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

Pete Muir (JIRA) jira-events at lists.jboss.org
Fri Feb 26 09:20:10 EST 2010


     [ https://jira.jboss.org/jira/browse/JBSEAM-1389?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pete Muir closed JBSEAM-1389.
-----------------------------

    Resolution: Out of Date


No new features in Seam 2

> Please make the methods parse and createPage protected instead of private.
> --------------------------------------------------------------------------
>
>                 Key: JBSEAM-1389
>                 URL: https://jira.jboss.org/jira/browse/JBSEAM-1389
>             Project: 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: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the seam-issues mailing list