Hide/show content of a gridPanel

How can I please show and hide a panel grid which contain buttons.Thanks
[86 byte] By [WebServicea] at [2007-11-27 5:25:47]
# 1

Every JSF component has a 'rendered' attribute which accepts a boolean expression. If it's outcome is true, then the component will be rendered and will be visible in the output, else not.

Here are some basic examples:<h:someComponent rendered="#{myBean.booleanValue}" />

<h:someComponent rendered="#{myBean.intValue > 10}" />

<h:someComponent rendered="#{myBean.objectValue == null}" />

<h:someComponent rendered="#{myBean.stringValue != 'someValue'}" />

<h:someComponent rendered="#{!empty myBean.collectionValue}" />

<h:someComponent rendered="#{!myBean.booleanValue && myBean.intValue != 0}" />

<h:someComponent rendered="#{myBean.stringValue == 'oneValue' || myBean.stringValue == 'anotherValue'}" />

BalusCa at 2007-7-12 14:46:06 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2
Thanks
WebServicea at 2007-7-12 14:46:06 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...