i have this html:
<?xml version='1.0' encoding='UTF-8'?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd "> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:wicket="http://wicket.apache.org/ "> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>Insert title here</title> </head> <body> <span wicket:id="click" onClick="test();">click</span> </body> </html> then this page: public class CaseSensitiveAttributePage extends WebPage { public CaseSensitiveAttributePage() { add(new Label("click").add(new AttributeModifier("onclick",true,new Model("test2();")))); } } what should the output then be? or if i do: add(new Label("click").add(new AttributeModifier("onclick",false,new Model("test();")))); // see the false currently if we have a true (do append it) then we get: <span wicket:id="click" onclick="test2();" onClick="test();"></span> which is wrong of course with the false: <span wicket:id="click" onClick="test();"></span> we don't add the attribute at all. (and it is mentioned in the html) should we try to match case insenstive? Not it is just a ValueMap of attributes so the problem is that we then have to lowercase all the attributes keys johan
