There is no cellpadding attribute on the tr:table component.
Here is the tagdoc:
http://incubator.apache.org/adffaces/trinidad-api/tagdoc/tr_table.html
You can create a skin that changes the padding of the cells.
- Jeanne
Chris Lowe wrote:
Hello,
I can't set the cell padding for a table component - when I look at the
generated HTML the value for cellpadding seems stuck at "1". My table is
defined as:
<tr:table id="grdFormat" var="row" value="#{popularFormats}"
horizontalGridVisible="false" verticalGridVisible="false"
allDetailsEnabled="false" cellpadding="0">
<tr:column separateRows="false" >
<tr:panelGroupLayout rendered="#{row.id eq selectedFormat.id}">
<img src="../img/green-select-square.gif" alt="selected" />
</tr:panelGroupLayout>
</tr:column>
<tr:column separateRows="false" >
<tr:panelGroupLayout inlineStyle="display: block; width: 100%;
background-color: green;">
<s:link value="#{row.description}" action="#{
orderFormatBean.tableSelected}" >
<f:param value="#{row.id}" name="formatId"/>
</s:link>
</tr:panelGroupLayout>
</tr:column>
</tr:table>
I've been looking at this for hours and its driving me nuts! Can anyone
point me in the right direction?
Best Regards,
Chris.