Richard Bremner wrote:
> Hi,
>
> We are having some strange behaviour with our JSF (sun reference
> implementation) application. I am running on Glassfish V2 final.
>
> say I have a page with the following panelGroup's, eg:
>
> <h:panelGroup rendered="BackingBean1.show">
> ...
> </h:panelGroup>
>
> <h:panelGroup rendered="BackingBean2.show">
> ...
> </h:panelGroup>
>
> <h:panelGroup rendered="BackingBean3.show">
> ...
> </h:panelGroup>
>
> Then, for instance, the "show" method in "BackingBean1" will be called 3
> times, as there are 3 "rendered" attributes. If I add a fourth, it will be
> called four times, if I remove them all but 2, it will be called twice, if
> there is only 1 "rendered" then the show method will be called only once.
> What on earth is causing this?
>
> cheers
>
> Richard
>
Just to be clear, only BackingBean1.show is invoked in all cases even though
you have specified BackingBean2.show or BackingBean3.show?