Uploaded image for project: '[Read Only] - Hippo Site Toolkit 2'
  1. [Read Only] - Hippo Site Toolkit 2
  2. HSTTWO-1804

Support for 'namespaced' parameternames in hst component configuration

    XMLWordPrintable

Details

    • New Feature
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • None
    • Backlog
    • None
    • None

    Description

      for something like behavioral targeting, we want to be able to specify different values for parameter for different persona's. For this, I discussed with Frank, we want to add a third multi-valued property in a hst:component configuration that is called: hst:parameternameprefixes. When it does not exist, it is ignored and behavior is like before. When it does exist, and has empty value, it also works as before. When it has a non-empty value, it's value is used for namespacing the parametername. Thus, suppose we have:

      hst:parameternames =

      {'pageSize', 'sortBy', 'pageSize'}

      hst:parametervalues =

      {'10', 'date', '5'}

      hst:parameternameprefixes =

      {'', '', developer}

      This results in:

      pageSize = 10
      sortBy = date
      developer:pageSize = 5

      Where I now for display reasons, write ':' as delimiter

      Attachments

        Activity

          People

            aschrijvers Ard Schrijvers
            aschrijvers Ard Schrijvers
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: