[
https://issues.apache.org/jira/browse/TRINIDAD-853?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jeanne Waldman resolved TRINIDAD-853.
-------------------------------------
Resolution: Fixed
> skin-sharing not working after deployment unless accessed as servlet first
> --------------------------------------------------------------------------
>
> Key: TRINIDAD-853
> URL: https://issues.apache.org/jira/browse/TRINIDAD-853
> Project: MyFaces Trinidad
> Issue Type: Bug
> Affects Versions: 1.0.4-core
> Reporter: Jeanne Waldman
> Assignee: Jeanne Waldman
>
> To reproduce, make sure the /adf/styles directory does not already exist in
> the target directory. Delete it if it does.
> Set output-mode to portlet in trinidad-config.xml
> In CoreRenderingContext code set the requested skin id and the requested skin
> stylesheet id to something to get this code path to run.
> (or you can actually run this as a portlet)
> Run a demo.
> You will get this error:
> WARNING: Could not locate the Trinidad styles directory.Please be sure that
> the Trinidad installable resources are installed.
> I've already looked into this and it is because the /adf/styles directory
> does not exist yet when this code path is run. It gets created in mkdirs in
> FileSystemStyleCache's constructor which gets called from SkinStyleProvider.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.