Hi,

thanks for all your hints!
The header is now shown after setting the renderedIfEmpty = true

Cheers Wolfgang
We solved the problem using the technique laid out in http://wiki.apache.org/myfaces/Dynamic_Columns?highlight=%28columns%29

Ron

On 10/1/07, [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>* <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote:


    Try to use    " renderedIfEmpty "   attribute  of the datatable .
    See the tag reference for the Tomhawk tags on the myfaces site





    *"Andrew Robinson" <[EMAIL PROTECTED]
    <mailto:[EMAIL PROTECTED]>>*

    10/01/2007 01:17 PM
    Please respond to
    "MyFaces Discussion" <[email protected]
    <mailto:[email protected]>>


        
    To
        "MyFaces Discussion" <[email protected]
    <mailto:[email protected]>>
    cc
        
    Subject
        Re: [Tomahawk] t:dataTable



        





    I don't believe it is possible in the Tomahawk table. I know the
    Trinidad table does do this. Perhaps you could add a "dummy" record to
    the table?

    On 10/1/07, Wolfgang <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>
    wrote:
    > Hi,
    >
    > I create a t:dataTable from a List, but if the list is empty the
    table
    > inclusive all headers
    > won't be shown. Is there a possibility to show all headers while the
    > list is empty?
    >
    > Cheers Wolfgang
    >




--
I reject your reality and substitute my own
--- Adam Savage, the mythbusters

Reply via email to