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

Web Content breaks on children within siblings

Details

    • 5.2.x

    Description

      I tested it using this stucture

      <root>
      <dynamic-element name='section' type='text' repeatable='true'>
      <dynamic-element name='feature' type='text' repeatable='true'>
      <dynamic-element name='icon' type='image' repeatable='false'> </dynamic-element>
      <dynamic-element name='detail' type='text_box' repeatable='false'></dynamic-element>
      </dynamic-element>
      </dynamic-element>
      </root>

      With this template

      #foreach ($each_section in $section.getSiblings())
      Siblings appear
      #foreach ($each_feature in $each_section)
      Only first child of each section appears, all others are a lost cause
      #end
      #end

      It's a difficult problem to describe, but it's killed one of our features for the new site. Thought I should mention the bug.

      Attachments

        Activity

          People

            support-lep@liferay.com SE Support
            jonathan.neal Jonathan Neal (Inactive)
            Kiyoshi Lee Kiyoshi Lee
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              12 years, 40 weeks, 6 days ago

              Packages

                Version Package
                6.0.3 GA