Uploaded image for project: 'Hippo CMS'
  1. Hippo CMS
  2. CMS-12892

DisplayName from @Parameter annotation in Channel Info is not present nor used in the UI

    XMLWordPrintable

Details

    • Improvement
    • Status: Open
    • Normal
    • Resolution: Unresolved
    • None
    • None
    • site-toolkit
    • None
    • Pulsar
    • !Pulsar - Site Mgmt APIs & UI

    Description

      In case you have a ChannelInfo something like:

      @FieldGroupList({
              @FieldGroup(
                      titleKey = "SPA Channel",
                      value = { "org.hippoecm.hst.configuration.channel.SpaChannelInfo_spaULR"}
              )
      })
      public interface SpaChannelInfo extends ChannelInfo {
      
          String SPA_URL_PROPERTY_NAME = "org.hippoecm.hst.configuration.channel.SpaChannelInfo_spaULR";
      
          @Parameter(name = SPA_URL_PROPERTY_NAME, displayName = "SPA URL")
          String getSpaURL();
      }
      

      The 'displayName' is not used. Although there seems to be support for i18nResources which are present in the json, this seems unhandy to me and requires resource bundles (a resource bundle document). If the i18nResources are not present, just the 'displayName' should be used

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: