Uploaded image for project: 'MyFaces Trinidad'
  1. MyFaces Trinidad
  2. TRINIDAD-853

skin-sharing not working after deployment unless accessed as servlet first

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0.4-core
    • 1.0.5-core, 1.2.5-core
    • None
    • None

    Description

      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.

      Attachments

        Activity

          People

            jeanne.waldman@oracle.com Jeanne Waldman
            jeanne.waldman@oracle.com Jeanne Waldman
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: