how can I add a custom attribute to an html list element? I tried the following but got markup exception:
WebMarkupContainer con = new WebMarkupContainer("Temp");
con.add(new AttributeAppender("note",true, new Model<String>("Alpha")));
add(con);
HTML:
<li class="segment" wicket:id="Temp">Data Usage</li>
Any suggestions for custom attributes?
Thanks.