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

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″

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s