Of course, this leads to additional evaluations of the rendered attribute. Well, sounds good.
regards, Martin On 2/21/06, Mario Ivankovits <[EMAIL PROTECTED]> wrote: > Hi! > > why not render a empty panelGroup, if so declared in the jsf source? > > IMO it is intuitive that there *is* a empty panel rendered in your example. > > > So I'll check the rendered attribute of the facet child and if none of > the facets are going to be rendered I'll suppress the footer (header) at > all. > > --- > Mario > > >> This might be complicated, if not impossible to do. > >> I have to check all children of all footer facets to see if the row > >> should be renderer or not. > >> Think of the following (for sure untypical, just to get the point): > >> > >> <f:facet name="footer"> > >> <h:panelGroup> > >> <h:outputLabel for="input"> > >> <h:outputText value="abc" rendered="false"/> > >> </h:outputLabel> > >> <h:inputText id="input" rendered="false"/> > >> </h:panelGroup> > >> </f:facet> > >> > >> We can say we take the rendered state of the first/root child of the > >> facet tag, but this is not very intuitive, is it? > >> > > -- http://www.irian.at Your JSF powerhouse - JSF Consulting, Development and Courses in English and German Professional Support for Apache MyFaces