// Get the requested Skin Id from the request Map
Object requestedSkinId = requestMap.get(_SKIN_ID_PARAM);
if (requestedSkinId != null)
{
SkinFactory factory = SkinFactory.getFactory();
if (factory == null)
{
_LOG.warning("NO_SKIN_FACTORY");
return null;
}
Skin requestedSkin = factory.getSkin(context, requestedSkinId.toString());
if (requestedSkin != null)
{
// Get the skin's stylesheet id from the request Map and then compare it
// to the local skin's stylesheet id to make sure they match.
Object requestMapStyleSheetId = requestMap.get(_SKIN_STYLESHEET_ID_PARAM);