Hi Mario,

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.


Regards,
  Volker


Mario Ivankovits wrote:
> Hi Volker!
> 
>>    [ 
>> http://issues.apache.org/jira/browse/MYFACES-1146?page=comments#action_12367167
>>  ] 
>>
>>Volker Weber commented on MYFACES-1146:
>>---------------------------------------
>>
>>I prefer to check the rendered attribute of footer/header component over 
>>adding extra attributes to datatable.
>>  
> 
> 
> 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?
> 
> Ciao,
> Mario
> 

-- 
Don't answer to From: address!
Mail to this account are droped if not recieved via mailinglist.
To contact me direct create the mail address by
concatenating my forename to my senders domain.

Reply via email to