Uploaded image for project: 'GPII - Global Public Inclusive Infrastructure'
  1. GPII - Global Public Inclusive Infrastructure
  2. GPII-2057

makeConfigurable and isConfigurable should be able to invoke settingshandlers

    XMLWordPrintable

    Details

      Description

      A common requirement for an application on the very first run is to depend on some wizard to create an initial settingsfile, with some basic, mandatory settings required by the application to run properly. Instead of re-implementing the functionality of setting different settings in makeConfigurable, we should take advantage of the existing settingshandlers.

      A suggested format is given below:

      "makeConfigurable": [{
          {
              "type": "settings.configure", // 'settings.x', where 'settings.' tells us to use a 
                                            //      settingshandler, 'x' is the name of the settingshandler
              "settings": { // settingsblock passed directly to the settings handler
                  "Invert": 0,
                  "Magnification": 200
              }
          }
      }]
      

      Note that the value under "type" matches the references to the settingshandler blocks under the "configure", "restore", etc., directives in the solutions registry

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jhernandez Javier Hernández
              Reporter:
              kasper Kasper Markus
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated: