Many where wondered why the xp:checkBoxGroup with the Bootstrap theme was transformed into a HTML table.
I have not heard so many complained that when you add a styleClass to it another class attribute is added and the browser simply ignores the second class attribute. Hell yeah, when you create a div element and add two class attributes DDE complains that a class attribute was already added for that element.
xp:checkBoxGroup id=”checkBoxGroup1″ styleClass=”testBox”
becomes in your browser source
div class=”checkbox” id=”view:_id1:checkBoxGroup1″ class=”testBox”
and your browser renders:
div class=”checkbox” id=”view:_id1:checkBoxGroup1″