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

do not cache url connections for trinidad-skins.xml or for skinning's css files in design time mode

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.0.0-core
    • Skinning
    • None

    Description

      Our skinning editor deploys a jar with the user's custom skin. The user adds this jar to the classpath, and the user views the page in design time mode. The user goes back to the skinning editor, changes the custom skin, redeploys the jar, but does not see the changes in the design time mode without restarting the server.

      The fix is to call setUseCaches(false) when in design time mode:
      // prevent caching during DT where the source may change...
      if (Beans.isDesignTime())

      { connection.setUseCaches(false); }

      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: