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

The default title for the aui:select tag-lib when selecting a displayPage template in Webcontent doesnt make sense

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: Master
    • Fix Version/s: Master
    • Component/s: WCM
    • Labels:
      None

      Description

      Description
      In select_asset_display_page/page.jsp in asset-taglib,

      <aui:select label="" name="displayPageType" value="<%= selectAssetDisplayPageDisplayContext.getAssetDisplayPageType() %>">
      	<aui:option label="default-display-page-template" value="<%= AssetDisplayPageConstants.TYPE_DEFAULT %>" />
      	<aui:option label="specific-display-page-template" value="<%= AssetDisplayPageConstants.TYPE_SPECIFIC %>" />
      	<aui:option label="no-display-page-template" value="<%= AssetDisplayPageConstants.TYPE_NONE %>" />
      </aui:select>
      

      The default title for this select option to select a display page will default to display-page-type. We should define a custom title that makes more sense (language key as well) to prevent confusion from users who hover over the select bar to just see "display-page-type" displayed. Even "Display Page Template Type" would make more sense.

      Steps to Reproduce

      1. Create a WC
      2. In the form editor sidebar, hover over the select taglib to select a display page template type

      Expected Result
      Intuitive title

      Actual Result
      Confusing title with no language key

      Tested on Tomcat 9.0.10 + MySQL 5.7
      Portal master GIT ID: 8cfef1331a532221c9b0bbeac98cf8d49495f3ce

        Attachments

          Activity

            People

            • Assignee:
              kyle.miho Kyle Miho
              Reporter:
              kyle.miho Kyle Miho
              Participants of an Issue:
              Recent user:
              Kyle Miho
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                22 weeks, 5 days ago

                Packages

                Version Package
                Master