title: Seam conditional render without parsing
body: <p>I'm trying to make a conditional render in my Seam application (2.2.0), to display two different controls depending on a condition.</p>
  
  <p>I'm using the <code>s:fragment</code> tag with the render attribute, but my problem is that I want whatever the control is displayed, to have the same id:</p>
  
  <pre><code>&lt;s:fragment render="${editable}"&gt;
    &lt;rich:calendar id="entityDate"..../&gt;
  &lt;/s:fragment&gt;
  &lt;s:fragment render="${!editable}"&gt;
    &lt;h:outputText id="entityDate".../&gt;
  &lt;/s:fragment&gt;
  </code></pre>
  
  <p>My problem is that even when the render attribute set to false, the "not to be rendered" element is parsed, and I get an exception because of the duplicated id.</p>
  
  <p>I also tried with the tag <code>&lt;ui:remove&gt;</code>, which effectively removes the element before the parsing phase, so I can have something like:</p>
  
  <pre><code>&lt;span id="myId"/&gt;
  &lt;ui:remove&gt;
    &lt;span id="myId"/&gt;
  &lt;/ui:remove&gt;
  </code></pre>
  
  <p>Unfortunately the <code>&lt;ui:remove&gt;</code> tag doesn't allow conditional logic. Has anyone found a way to solve this?</p>