Hi Aaron,
this is a problem of the JSF Spec 1.1. This is fixed in 1.2 - bear
with us until this comes into place.
Right now, you'll need to do it with verbatim-tags.
Exception: you use facelets, and get rid of those verbatim-thingys
cramming your code.
regards,
Martin
On 11/23/05, albartell <[EMAIL PROTECTED]> wrote:
>
> 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>
>
> ... many more rows of client information omitted ...
>
> </table>
> </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.
> http://www.mail-archive.com/[email protected]/msg11682.html
>
> 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
>
>
--
http://www.irian.at
Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German
Professional Support for Apache MyFaces