Skip to main content
sharsha5545
Participant
Mar 25, 2019 3:41 PM UTC
Question

Re-ordering the included components

Hi Team,

I have a requirement where we include a component inside other component. If you see the code below , we have a list of components included dynamically. Now the  use-case is that author should be able  to re-order the included component's. i know we can re-order the components that can be dragged and droped, but not sure how to re-order the included components. Is there any way to do it?

<div data-sly-list.keyName="${model.articleList}">

    <p>${keyName}</p>

        <div data-sly-list.key="${model.articleList[keyName]}">

            <div class= "article_${keyList.count}" data-sly-resource="${@path=key.name, resourceType='/apps/test-proj/components/modular/content/articeInfo'}">/div>

       </div>

</div>

Thanks.

This topic is closed to new replies. Start a new post to keep the conversation going.

1 reply

John T Smith
Community Expert
Community Expert
Mar 25, 2019 4:33 PM UTC

Please post the name of the program you use so a Moderator may move this message to that forum

-A program would be Photoshop or Dreamweaver or Muse or Premiere Pro or ???

Translate