Hi,

 

I’m not sure but I think your html tags should be nested in <f:verbatim> or <t:html> tags to be registered in the JSF components tree. The html tags are considered as simple text and not components nested in the <t:div> component.

 

I hope this helps,

 

Maxence Dewil

 


De : Philippe Lamote [mailto:[EMAIL PROTECTED]
Envoyé : mardi 14 février 2006 12:25
À : MyFaces Discussion
Objet : <t:div> question

 

Hi, 

I 'm trying to hide/show some part of a table depending on a variabel set in the backing been. 

 

This is the piece of code: 

 

<t:div id="setTypeHeader" rendered="#{regcalbean.showGroup}"  >

            <tr>

                     <td  >            

                        <h:outputLabel value="#{labels.calPicker_set}:" />

                         <h:outputLabel value="#{labels.regCal_eventNr}  #{regcalbean.showVolgNr} #{labels.regCal_ofTotal} #{regcalbean.showMaxAantal} " />

                        </td>

                        <td width="5%" />                            

           </tr>

</t:div>

 

... doens't seem to work however. 

I tried to replace "#{regcalbean.showGroup}" with a plain "false" to check, to my surprise even then the table row is shown.

Am I "mis-using" <t:div> or is this a bug?

Thx,

Philippe

 

 

Reply via email to