How do we determine the sequence of a component presentation in a particular region on the page? I am using DXA JAVA.
The design has 4 blocks having divs something like:
<div class="tab1"> Block 1 </div> <div class="tab2"> Block 2 </div> <div class="tab3"> Block 3 </div> <div class="tab4"> Block 4 </div>
I want to make the design flexible, so that tab number is generated by the sequence of component presentation in that particular region.
How can this be achieved in the view?