[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-671) Add an inheritance mechanism for themes

Bill Wallace (JIRA) jira-events at jboss.com
Thu Jan 18 15:51:52 EST 2007


Add an inheritance mechanism for themes
---------------------------------------

                 Key: JBSEAM-671
                 URL: http://jira.jboss.com/jira/browse/JBSEAM-671
             Project: JBoss Seam
          Issue Type: Feature Request
          Components: Framework
    Affects Versions: 1.1.0.GA
            Reporter: Bill Wallace


It would be very nice to have an item in a theme that allowed one to indicate which theme to inherit from, eg:

default theme - no inheritance:


printable.properties:
org.jboss.seam.theme.inherit  default

accessible.properties:
org.jboss.seam.theme.inherit default

accessible-printable.properties
org.jboss.seam.theme.inherit printable accessible
...

Thus, the accessible-printable version would inherit first from printable, then from accessible.  Assuming they could in fact co-exist, that might work out nicely to produce an accessible-printable version.   
It would also be nice to allow inheritance from generic property files that are NOT explicit themes - that way, you can put portions of a theme in another file, and just inherit from all the required themes.  Note that the Java API makes this relatively easy, just be creating a chain of inheritance.  (Note that only accessible would chain to default, a new printable would be needed that only inherited from accessible, not from anything else.)

-- 
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