There isn't support to link headers to cells currently, but it looks like a 
good idea and
straightforward to add.

Can you raise a JIRA for these items:

1. add API to render a caption
2. associate headers and cells through id and headers attributes

For now you can either create your own column subclass to render these 
attributes or use Velocity to
manually render the table.

Kind regards

Bob


On 7/05/2010 22:51, easydoor wrote:
> 
> We need to render our sites fully W3C Accessible. 
> For tables, we are obliged to link th cells with td cells in a table like 
> this.
> 
> <table border="0" class="TrOdd" summary="Text">
> <caption>$elu.prenom $elu.nom</caption>
> <tr>
>    <th id="canton" height="25" width="190" class="ThRows">Canton</th>
> </tr>
> <tr>
>    <td headers="canton" height="25" width="190">
> </tr>
> 
> 1/ There is no API method to generate the caption Label
> 2/ When i add the setAttribue method in the Controller on the table Column
> 
> catColumn.setAttribute("id","categorie");
> 
> the id attribute doesn't appear in the HTML render
> 
> catColumn.setAttribute("headers","categorie");
> 
> the headers attribute appears in the th and td
> 
> Could you give me a solution to solve this issue ?
> 
> Thanks
> 
> 

Reply via email to