I'm trying to conditionally render a <tr>
therefore I cannot use <h:panelGroup>
as it will render to <span> or <div>
My current (working) approach is the following:
<h:outputFormat rendered="#{negotiator.maySend}">
<tr> my tr stuff </tr>
</h:outputFormat>
This works, but I'm not sure if that's the way to abuse <h:outputFormat>
- before that I used <h:outputLabel>
but this was rendered to <label>
in IE.
I have also read the answers to this question, but as mentioned above, they won't work for me because of the <tr>
: How to not render whole block in JSF?