THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
- Rename renderHead(HtmlHeaderContainer) https://issues.apache.org/jira/browse/WICKET-4964
Assignee: mgrigorov
Status: Not started
Jira: WICKET-4964
API Tweaks
SimpleFormComponentLabel should output the "required" class just like wicket:for
ajaxbehavior#updateAjaxAttributes() should get component passed in
otherwise referencing the component as needed in throttle settings is annoying
Code Block |
---|
queryField.add(new AjaxFormComponentUpdatingBehavior("onkeydown") {
protected void updateAjaxAttributes(AjaxRequestAttributes attributes) {
attributes.setThrottlingSettings(new ThrottlingSettings(queryField.getMarkupId(), Duration.seconds(1)));
----------------------------------------------------------------------------^
|
throttling settings should be mutable to make it easier to override just the duration without having to figure out an id
JavaScriptResourceReference#getDependencies() should return an appendable List
so we can do
Code Block |
---|
class MyReference extends JavascriptReference {
getDependencies() { List<?> list=super.getDependencies(); list.add(...); return list; }
}
|