Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-11906

Force hot reload of faces-config at runtime

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: 5.7.1
    • Fix Version/s: 9.10
    • Component/s: Seam / JSF UI

      Description

      When using Nuxeo IDE, you might want to add a custom faces-config.xml (e.g. to add new navigation-case rules).

      At this time, the hot-reload mechanism is not able to take these changes into account and we need to restart the server.

      But if we enable the dev mode of faces and "touch" the WEB-INF/faces-config.xml, this forces faces to reload its configuration (and restart the faces application) and no there is no need anymore to restart ther server.

      The parameter:

      <context-param>
        <param-name>com.sun.faces.developmentMode</param-name>
        <param-value>true</param-value>
      </context-param>
      

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: