You can use panelgroup, panelgrid or div to solve your problem. Below is
the example

<t:dataTable id="search_result" var="search_result" border="1">

   <t:column colspan="2">

            <f:facet name="header">

            <h:outputText value="bundle.table_header_debitorenkonto" />

            </f:facet>
                <h:panelGrid>
                <h:outputText value="data1" />

                <h:outputText value="data2" />
                <h:panelgrid>
   </t:column>

...

...

</t:dataTable> 

Hope this helps

Vamsi Surapuraju
724 709 2391

-----Original Message-----
From: Chen, Wei [mailto:[EMAIL PROTECTED] 
Sent: Monday, January 08, 2007 3:51 AM
To: users@myfaces.apache.org
Subject: Question about using dataTable

Hi,

 

I use the <t:dataTable>. I have a question: If a column head has two
data columns, how can I do that? Here is my codes. But it looks not like
as what I want:

...

<t:dataTable id="search_result" var="search_result" border="1">

   <t:column colspan="2">

            <f:facet name="header">

            <h:outputText value="bundle.table_header_debitorenkonto" />

            </f:facet>

            <h:outputText value="data1" />

            <h:outputText value="data2" />

   </t:column>

...

...

</t:dataTable>

 

Regards

 

Wei

 

Reply via email to