Hi! Still, why do you not use the rendered attribute?
So you might end in:
<managed-bean>
<managed-bean-name>LoginBean</managed-bean-name>
<managed-bean-class>org.onlinestore.web.LoginBean</managed-bean-class>
<managed-bean-scope>session</managed-bean-scope>
</managed-bean>
<h:panelGroup rendered="#{!LoginBean.loggedIn}" >
</h:panelGroup>
I'd recommend to avoid anything else then JSF tags within your view -
even in JSP pages.
Ciao,
Mario

