Hi,

I am not sure the requested rendering can possibly work if you have sorting,
but here you go:

You can use the lower level table components (TableView, etc) and define
your own layout as a result. An example of that is in the LocaleList
component in the Workbench.

For example:

<table jwcid="@contrib:TableView" source="..." columns="...">

  <tr>
    <td colspan="...">
      <span jwcid="[EMAIL PROTECTED]:TableFormPages"/>
    </td>
  </tr>
  <tr>
    <td jwcid="@contrib:TableColumns"/>
  </tr>

  <span jwcid="@contrib:TableFormRows" row="ognl: currentRow"
element="span">
    <span jwcid="@Conditional" condition="ognl: showTitle">
    <tr>
      <td colspan="..."><span jwcid="Insert" value="ognl: titleText"/></td>
    </tr>
    </span>

    <tr>
      <td jwcid="@contrib:TableValues"/>
    </tr>
  </span>

</table>


----- Original Message ----- 
From: "Simeon Koptelov" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Thursday, June 09, 2005 8:38 AM
Subject: contrib:FormTable customization question


Hello all.

How can I do the following with the contrib:FormTable?

+------------------------------------
| Heading 1
+-----------------------------------
| Column 1 |  Column 2 | Column 3 |
+-----------------------------------
| Column 1 |  Column 2 | Column 3 |
+-----------------------------------
| Heading 2
+-----------------------------------
| Column 1 | Column 2 | Column 3 |
+-----------------------------------

I need to insert headers between the ordinary rows. The header is a
row with a single <td colspan="columnsCount">. Seems that i need to
override the renderer for a row, but I don't know how. Any
suggestions?

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to