title: In JSF, how can I loop through a list of values and concatenate them into a variable/param?
body: <p>I have data available to me as maps and lists on a JSF page. Here is an example:</p>
  
  <pre><code>   [ 
      {
         word: "word1"
         altWord : "altWord1"
      },
      {
         word: "word2"
         altWord : "altWord2"
      },
      {
         word: "word3"
         altWord : "altWord3"
      }
     ]
  </code></pre>
  
  <p>I want to loop through this list:</p>
  
  <pre><code>    &lt;ui:param name="phrase" value="" /&gt;
      &lt;ui:repeat value="wordList" var="wordEntry"&gt;
         &lt;ui:param name="phrase" value="#{concat(wordEntry.word)}" /&gt;
      &lt;/ui:repeat&gt;
  
  &lt;!--Show phrase --&gt;
      #{phrase}
  </code></pre>
  
  <p>How can I accomplish this in JSF?</p>