Is any solution? I use
template'=>'<li>{input}<a href="/site/view/">{labelTitle}</li>',
how to place item ID inside href to make link like
href="/site/view/12"
Thanks in advance
Is any solution? I use
template'=>'<li>{input}<a href="/site/view/">{labelTitle}</li>',
how to place item ID inside href to make link like
href="/site/view/12"
Thanks in advance
As
checkBoxList()andactiveCheckBoxList()template options are text and only accept below list:it is not feasible, unless you override
checkBoxList()method which is a method ofCHtmlclass.As a suggestion, use
checkBox()oractiveCheckBox()and populate them in a loop.