myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Behrang Saeedzadeh" <behran...@gmail.com>
Subject Re: verbatim bug?
Date Wed, 20 Sep 2006 21:26:42 GMT
Markus,

Thanks for the solution. This works, but I think it's kind of very
verbose. Actually I wanted to ignore using the t:htmlTag for its
excessive verbosity, but f:verbatim is just as verbose.

Regards,
Behi

On 9/15/06, Döring Markus <Markus.Doering@tcc-products.de> wrote:
> Looks like you have <h:outputText> within the <verbatim>.
> Try something like
>
> <h:form>
>         <h:dataTable var="slot" value="#{indexBean.slots}">
>         <f:facet name="header">
>                 <f:verbatim>
>                         <div style="height: 50px; background-color: tan; font-size:
16px;">
>                 </f:verbatim>
>                         <h:outputText value="#{bundle.saturday}" />
>                 <f:verbatim>
>                         </div>
>                 </f:verbatim>
>                 </f:facet>
>         </h:dataTable>
> </h:form>
>
>
> -----Urspr√ľngliche Nachricht-----
> Von: Behrang Saeedzadeh [mailto:behrangsa@gmail.com]
> Gesendet: Freitag, 15. September 2006 12:10
> An: MyFaces Discussion
> Betreff: f:verbatim bug?
>
> Hi,
>
> The following code snippet:
>
> <h:form>
>             <h:dataTable var="slot" value="#{indexBean.slots}">
>                 <f:facet name="header">
>                     <f:verbatim>
>                         <div style="height: 50px; background-color:
> tan; font-size: 16px;">
>                             <h:outputText value="#{bundle.saturday}" />
>                         </div>
>                     </f:verbatim>
>                 </f:facet>
>
> Should generate the value of the <h:outputText> inside a div. But by
> looking at the generated code, it can be seen that div is place after
> the output of the <h:outputText>:
>
> <th scope="colgroup" colspan="7">Saturday
>    <div style="height: 50px; background-color: tan; font-size: 16px;">
>
>    </div>
>
> If I put the <f:verbatim> around the <h:dataTable> the div is not
> rendered in the output at all.
>
> Could someone please confirm this bug?
>
> (MyFaces version: 1.1.3)
>
> Regards,
> Behi
>
> --
> "We can only see a short distance ahead,
> but we can see plenty there
> that needs to be done." - Alan Turing
>
> "Science is a differential equation. Religion
> is a boundary condition" - Alan Turing
>
> Behrang Saeedzadeh
> http://www.jroller.com/page/behrangsa
> http://my.opera.com/behrangsa
>


-- 
"We can only see a short distance ahead,
but we can see plenty there
that needs to be done." - Alan Turing

"Science is a differential equation. Religion
is a boundary condition" - Alan Turing

Behrang Saeedzadeh
http://www.jroller.com/page/behrangsa
http://my.opera.com/behrangsa

Mime
View raw message