incubator-adffaces-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matthias We├čendorf (JIRA) <adffaces-iss...@incubator.apache.org>
Subject [jira] Updated: (ADFFACES-292) Allow registering stylesheets on a particular skin via an xml config file
Date Fri, 16 Mar 2007 08:13:11 GMT

     [ https://issues.apache.org/jira/browse/ADFFACES-292?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Matthias We├čendorf updated ADFFACES-292:
----------------------------------------

        Fix Version/s: 1.0.0-incubating-core
    Affects Version/s: 1.0.0-incubating-core

> Allow registering stylesheets on a particular skin via an xml config file
> -------------------------------------------------------------------------
>
>                 Key: ADFFACES-292
>                 URL: https://issues.apache.org/jira/browse/ADFFACES-292
>             Project: MyFaces ADF-Faces
>          Issue Type: Improvement
>    Affects Versions: 1.0.0-incubating-core
>            Reporter: Jeanne Waldman
>         Assigned To: Jeanne Waldman
>             Fix For: 1.0.0-incubating-core
>
>
> Background:
> > Let's say a custom component developer created some new components. He
> > wants those components  to "fit in" with the
> > 'simple' skin. He also wants them to "fit in" with the 'minimal' skin
> > or any other public skin out there.  He doesn't have access to the files
> > where we
> > have this information -- our base-desktop.xss, simple-desktop.xss,
> > simple-pda.xss, etc.
> >
> > With Trinidad's Skin API, he can call the
> > skin.registerStyleSheet
> > ("styles/myCustomComponentsSimpleDesktop.css")
> > method on the skin instance. Aside: I'm not sure *when/where* the custom
> > component developer would do this, because it would need to be after we've
> > registered our base skins and any skin extensions, so presumably it
> > would need to be after the TrinidadFilter.
> >
> > It would be much nicer for the custom component developer if all he has
> > to do is create an .xml file and stick it in the META-INF
> > of his jar file. Then we'll parse the xml file and register the
> > stylesheets with the skins for him. 
> Conclusion:
> On the list, we decided to add a <skin-addition> element to the trinidad-skins.xml
file. 
>  We definitely want to allow these skin-additions to be in a .jar file, therefore we'll
need trinidad-skins.xml to be able to be in a jar file.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message