In the mean time I found out the wrapped HTML tags are the problem. Using a panelGrid inside solved this.
Phil

On 24 Feb 2006, at 18:56, Mike Kienenberger wrote:

I've written an example of t:div using rendered values of "false",
"true", "#{false}", and "#{true}".

Both forms of true rendered as expected.  Both forms of false failed
to be rendered as expected.

I don't think there's an issue with t:div.

More likely is that #{regcalbean.showGroup} is request-scoped, and the
value is changing between page requests.  Try using saveState on that
value to preserve it across requests.


On 2/14/06, Philippe Lamote <[EMAIL PROTECTED]> wrote:
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