tsdoc
    Preparing search index...

    Function getProjectStage

    • Return the value of Application.getProjectStage() for the currently running application instance. Calling this method must not cause any network transaction to happen to the server.

      Usage:

      const stage = faces.getProjectStage();
      

      if (stage === 'Development') { // ... } else if (stage === 'Production') { // ... }

      Returns string

      String representing the current state of the running application in a typical product development lifecycle. Refer to jakarta.faces.application.Application.getProjectStage and jakarta.faces.application.ProjectStage.

      2.0