Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Fluid's strategy for including a repeating section of two components involves using the "elision" syntax. For example, we might have:

Section
Column

Original markup

Code Block
html
html
titleOriginal markup:
<ul rsf:id="container">
    <div rsf:id="~repeatingNode:">
        <li rsf:id="part1">Part 1</li>
        <li rsf:id="part2">Part 2</li>
    </div>
<ul>
which will become
Column
<ul rsf:id="container">
Code Block
html
html
title
Which will become:

<ul>
    <li>A: Part 1</li>
    <li>A: Part 2</li>
    <li>B: Part 1</li>
    <li>B: Part 2</li>
    <li>C: Part 1</li>
    <li>C: Part 2</li>
<ul>

...