Uploaded image for project: 'Causeway'
  1. Causeway
  2. CAUSEWAY-520

Allow wicket viewer to be run in either development or deployment mode by passing in the Isis --type cmd line arg.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • viewer-wicket-1.2.0
    • viewer-wicket-1.3.0
    • Viewer Wicket
    • None

    Description

      Isis' deploymentType configuration parameter declares EXPLORATION, PROTOTYPING and SERVER as three modes of operation; broadly speaking, "SERVER" corresponds to production.

      Wicket, meanwhile, has its configurationType which takes values of "DEVELOPMENT" or "DEPLOYMENT".

      Currently the Wicket viewer reads the Wicket "configurationType" init-param, and infers the Isis deploymentType from it.

      However, it would also be useful to go the other way, so that running the app through the org.apache.isis.WebServer (ie jetty) would honour the --type (-t) cmd line arg.

      For simplicity, suggest:

      • Isis SERVER = Wicket DEPLOYMENT mode
      • Isis anything else = Wicket DEVELOPMENT mode

      Attachments

        Activity

          People

            danhaywood Daniel Keir Haywood
            danhaywood Daniel Keir Haywood
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: