I thought I saw this
was fixed in the latest version of MyFaces but I must have been reading
something else. . .
Is there a way to
make raw HTML be displayed (or not displayed) based on an encompassing JSF tag's
rendered value? Below is some sample code of what I am trying to do without
using a ton of verbatim tags.
<x:div
rendered="#{ClientCtlr.curClient.clientid!=null}">
<table border="0" cellspacing="0" cellpadding="2">
<tr>
<td>Client:</td>
<td>
<h:outputText value="#{ClientCtlr.curClient.client}" />
</td>
</tr>
<tr>
<td>Contact:</td>
<td>
<h:outputText value="#{ClientCtlr.curClient.contact}" />
</td>
</tr>
<table border="0" cellspacing="0" cellpadding="2">
<tr>
<td>Client:</td>
<td>
<h:outputText value="#{ClientCtlr.curClient.client}" />
</td>
</tr>
<tr>
<td>Contact:</td>
<td>
<h:outputText value="#{ClientCtlr.curClient.contact}" />
</td>
</tr>
... many more rows
of client information omitted ...
</table>
</x:div>
</x:div>
I am led to believe
I cannot do this without the verbatim tag because of the below post, but I
wanted to make sure.
From the looks of it
the JSF spec is more the problem than the lack of a MyFaces tag, would that be
true? This makes it incredibly hard to sell JSF as a viable solution to
web designers!
Aaron
Bartell

