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&gt;root&gt;categorycatalog.png&gt;9</label>     <input name="categories" type="checkbox" value="829" id="categoriesb-categories_829">     <label for="categoriesb-categories_829">index&gt;root&gt;tv.png&gt;9</label> </div> 

i want change styles of inputs , labels, don't know how checkboxmultiplechoice.

i have done way. there 2 ways

  1. 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

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -