<panelGroup rendered="#{bean.shouldRenderThese}">
    <componentToRenderWhenTrue/>
    <componentToRenderWhenTrue/>
    <componentToRenderWhenTrue/>
    <componentToRenderWhenTrue/>
    <componentToRenderWhenTrue/>
</panelGroup>

<panelGroup rendered="#{not bean.shouldRenderThese}">
    <componentToRenderWhenFalse/>
    <componentToRenderWhenFalse/>
    <componentToRenderWhenFalse/>
</panelGroup>

On 9/5/07, daniel ccss <[EMAIL PROTECTED]> wrote:
> Can you give some example code, another way?
>
>
> On 9/5/07, Mike Kienenberger <[EMAIL PROTECTED]> wrote:
> > Generally, you do this with the rendered attribute of the component.
> >
> > If you want to group a bunch of components, use a <panelGroup rendered.
> >
> >
> > On 9/5/07, daniel ccss <[EMAIL PROTECTED]> wrote:
> > > Hi all,
> > >
> > > I have one question, how can I do an IF in a JSP wit myFaces/Tomahawk?
> In
> > > struts I used logic:equal or logic:notEqual, which is the tag in
> > > myFaces/Tomahawk to do that, I donĀ“t want to use this: <% if(...)... {%>
> <%
> > > else(...)... {%>
> > >
> > > thanks!!!
> > >
> >
>
>

Reply via email to