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