Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-30895

configurable settings in theme fail when space is used in option list

    Details

    • Type: Feature Request
    • Status: Selected for Development
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 6.1.20 EE GA2
    • Fix Version/s: None
    • Component/s: Themes Infrastructure
    • Labels:
      None

      Description

      in liferay-look-and-feel.xml for themes you can configure theme-specific settings that are a list of options. You cannot use spaces in this option list, otherwise they won't be recognized:

      What won't work if you want to choose value "two":

      <setting configurable="true" key="sample" options="one, two" type="select" value="one"></setting>

      (The option will be presented, but not accepted once you save the setting

      Workaround: remove the space from the options

      <setting configurable="true" key="sample" options="one,two" type="select" value="one"></setting>

        Attachments

          Activity

            People

            • Assignee:
              david.truong David Truong
              Reporter:
              olaf.kock Olaf Kock
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: