|
If the table gets no border, all you have to do is to set the
styleClass attribute, so the output table gets a CSS style class. Then
you can add a stylesheet to your document which states that the table
should indeed have a border. Change the JSF tag to something like <t:someTag styleClass="Guedes"> and then you will get an output like <table class="Guedes"> and then all you have to add is a stylesheet containing something like table.Guedes { border: 1px solid black; } Randahl PATRICIA GUEDES wrote: I've tried both solutions. The first one (Tomahawk newspaperTable component) didn't work, because the table was bad-formed (without border). Maybe I did something wrong.... The other solution (output the HTML tags) is a workaround and the table appears a little ugly. Is that any other way????Thanks. Guedes On 10/17/05, Randahl Fink Isaksen <[EMAIL PROTECTED]> wrote:No, but you can add your own. Simply output a <table> tag before the list and surround each element with <td>[your content]</td>. Then complete your list with </table>. Randahl PATRICIA GUEDES wrote: Thanks for your reply!!! The problem is that with dataList the columns format (border, etc) don't appear. Thanks. Guedes On 10/17/05, Randahl Fink Isaksen <[EMAIL PROTECTED]> wrote: You can use the Tomahawk dataList component - it can render columns if you use the "simple" setting. Randahl PATRICIA GUEDES wrote: Hi, I´m from Brazil (sorry my bad English) and I an trying use the tag dataTable. How can I do to make a dataTable that receive a field's Array show the table by columns instead lines? Ex: field1 field2 field3 field4 field5 field6 Thanks. Guedes |
- Re: Problem with dataTable Randahl Fink Isaksen
- Re: Problem with dataTable PATRICIA GUEDES

