Uploaded image for project: 'DeltaSpike'
  1. DeltaSpike
  2. DELTASPIKE-445

read ProjectStage also from a few other places

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.5
    • 0.7
    • Core
    • None

    Description

      We currently only read the ProjectStage setting from "org.apache.deltaspike.ProjectStage".

      We should also try to read the info from the other ususal suspects:

      • javax.faces.PROJECT_STAGE
      • faces.PROJECT_STAGE

      We have 2 options to do so:
      1.) introduce a SPI and make it expandable. But I honestly doubt this is worth the hassle.
      2.) Just add the other locations and iterate through them directly in the ProjectStageProducer.

      I honestly prefer 2. Not as perfectly as clean, but way easier and usually this i snothing a user will change anyway.

      Attachments

        Activity

          People

            struberg Mark Struberg
            struberg Mark Struberg
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: