title: How can I manipulate a String in a JSF tag?
body: <p>Given this code,</p>
  
  <pre class="lang-html prettyprint-override"><code>&lt;rich:dataTable id="list" value="#{testBeen.dataModel}" var="test" rows="#{testBeen.dataModel.pageSize}"&gt;
      ...
      &lt;h:outputText value="#{test.WEEK}" /&gt;  
  </code></pre>
  
  <p>I need to manipulate the <code>#{test.WEEK}</code> and replace character <code>)</code> with <code>]</code>, how can I do this?</p>
  
  <p>I tried the following, but it does not work: </p>
  
  <pre><code>&lt;%String a = test.WEEK; a.replace("a", "b"); %&gt;
  &lt;%=a %&gt;
  </code></pre>
  
  <p>How can I get the string from JSF and pass it back to JSF?</p>