Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
4.0.0-RC5
-
None
-
None
Description
Discovered via TCK Issue2969IT on RC5 with the new scripts.
The faces.getProjectStage() call returns an empty string for the Production project stage. When set to Development, it works as expected.
My guess it is doesn't see a stage query parameter set in the script tag src attribute, so it defaults to an empty string.
<div id="stage"/> <script type="text/javascript"> var stage = document.getElementById("stage"); stage.innerHTML = faces.getProjectStage(); </script>
Attachments
Issue Links
- links to