I have set up a table with a search form. Users can use this search form
to filter the shown records in the table. In my table header I included
an image as link (a tooltip). When the table contains rows, this is
displayed like it should be. However, when there are "no records found",
the rendering looks different. My link in the table header gets
rewritten to html entities: < gets <.
In addition, also the <th>-class attributes are not rendered, but this
is correct, since you dont want a sortable empty table.
I see in Table.class:1813 of Apache Click an if-else statement for when
the rowlisty is empty. Is this the cause of the difference in rendering?
Kind regards,
Antek
- Rendering table headers when no records found AH Jaworski
-