Documentation Archive Developer
Search
Table of Contents Previous Section

Adding a Repetition

Now you'll extend the user interface of the MovieDetails component to display the actors in the selected movie. Because different movies have different numbers of roles, you need the dynamism of a repetition element. When you're done adding the repetition, your component should look like this:

  1. In the MovieDetails component window, add the bolded text Starring: beneath the Revenue line.

  2. Below the Starring label, add a repetition.

  3. Replace the "Repetition" text with three string elements.

    The strings should all be on the same line, so don't type carriage returns between them.

  4. Type a space between the first two strings and the word " as " (with a space before and after) between the last two.

  5. Add a carriage return after the last string.

Table of Contents Next Section