Wicket CheckBoxMultipleChoice -
how change css style of rendered html of checkboxmultiplechoice? checkboxmultiplechoice renders html output default want change css style of rendered output
<div class="ca-info__cat-roles js-roles-1 expanded" wicket:id="categories" id="categoriesb"> <input name="categories" type="checkbox" value="819" id="categoriesb categories_819"> <label for="categoriesb-categories_819">index>root>categorycatalog.png>9</label> <input name="categories" type="checkbox" value="829" id="categoriesb-categories_829"> <label for="categoriesb-categories_829">index>root>tv.png>9</label> </div>
i want change styles of inputs , labels, don't know how checkboxmultiplechoice.
i have done way. there 2 ways
add css in html page . inside
style
tag add style below affect other component if have same style..ca-info__cat-roles js-roles-1.expanded label{ // style label } .ca-info__cat-roles js-roles-1.expanded input{ // style input }
2.another way can override#appendhtml , derive own style check box (e.g)buffer.append("class=\"yourstyleclass\"");
.
Comments
Post a Comment