[ https://issues.apache.org/jira/browse/TRINIDAD-2406?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Anand V Nath reopened TRINIDAD-2406: ------------------------------------ In SkinProvider API, using ExternalContext is sufficient. There is no real need to use FacesContext. Attaching a patch for fixing this. > externalize skin repositories by using SkinProvider SPI > ------------------------------------------------------- > > Key: TRINIDAD-2406 > URL: https://issues.apache.org/jira/browse/TRINIDAD-2406 > Project: MyFaces Trinidad > Issue Type: Improvement > Components: Skinning > Affects Versions: 2.1.0-core > Reporter: Anand V Nath > Fix For: 2.1.0-core > > Attachments: er-skin-provider-ver7.patch, > er-skin-provider-ver8.patch, fc-to-ec.patch, > skin-addition-bug-trinidad.patch, spr-bugfix.patch > > > Introduce SkinProvider SPI. Users can use this to create their own skip > repositories and expose their skins to the skinning framework. > Provide an API to query skin using skin family, skin id, render kit - This > will make use of the existing SkinFactory APIs. Only change here is that it > should go over all the available SkinProvider SPIs to find a match. > Create internal SkinProvider SPIs to handle the Trinidad and RCF skins (or > skins defined using trinidad-skins.xml). > Provide an API to list all the available skins from all SkinProvider SPIs and > make the skin metadata thus available. > Make SkinExtension part of public API so that users can use this class to > create the Skin objects which they expose through their SkinProvider SPIs -- This message was sent by Atlassian JIRA (v6.1#6144)