Quantcast
Channel: Kwintessential Notes
Viewing all articles
Browse latest Browse all 294

It’s a bug, it’s a pain, it’s an xp:checkBoxGroup!

$
0
0

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.

So:

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″


Viewing all articles
Browse latest Browse all 294

Trending Articles