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

The template code introduced by the palette for collections is not useful enough for the user

    Details

      Description

      When clicking, for example, in "Tags" in the editor palette for an Tags Navigation Display Template it injects the following code:

      <#if entries?has_content>
      <#list entries as curTag>

      </#list>
      </#if>

      And the user doesn't know how to continue, specially because the editor does not provide autocomplete for curTag (which is a known limitation due to technical reasons). A simple solution to improve this situation is to generate the following code instead:

      <#if entries?has_content>
      <#list entries as curTag>
      ${curTag.getName()}
      </#list>
      </#if>

        Attachments

          Activity

            People

            • Assignee:
              brian.wulbern Brian Wulbern
              Reporter:
              julio.camarero Julio Camarero (Inactive)
              Participants of an Issue:
              Recent user:
              Esther Sanz
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                6 years, 15 weeks, 2 days ago

                Packages

                Version Package
                6.2.0 CE B1