When viewing a Xpage on the web containing a table with a comboBox in a column the html generated by Domino creates a table for the combobox but a span for other components
This code will fix all comboboxes on the page with dojo, run onClientLoad:
if("#{javascript:document1.isEditable()}" == "false"){
// Search for all nested tables with ids
dojo.query('table td table[id]').forEach(function(node) {
var value = '';
// Locate the first table cell, which contains the value
dojo.query('td:first-child', node).forEach(function(innerNode) {
value = innerNode.innerHTML;
});
// Replace the table with only the value (or a blank)
node.outerHTML = value;
});
}
Notes: