Hey guys,
I hope it is not too late to make some minor suggestions for 2.0. I'm sorry,
I noticed that you switched to apache mailing list too late...
1. Please remove 'null' and 'nullValid' properties from
wicket/Application.properties The names are too generic and used by Dropdown
controls.
2. I found that very often I need to display non-empty text in controls with
Null values. For example, when label has null in model object, I had to
display '<Not specified>'. I actually implemented a separate class to do
this. It will be easier if components were reading "null" property from
property files and use them by default (if such property was found, of
course). Component can default to empty string if such property was not
found.
3. Please fix borders. It's not natural to use as it is (in 1.2). Let me
explain:
Instead of doing something like
add(new TextField("txtid").setBorder(new Border(...
or
or add(new TextField("txtid").add(new Border(... /* as you do with behaviors
*/
I have to use
Border border = new Border(...
border.add(new TextField("txtid"));
add(border);
More importantly, html has to be changed: <span wicket:id="border"><input
wicket:id="txtid" type="text"/></span> instead of just <input
wicket:id="txtod" type="text"/>
I'd say that border is something you should be able to add to the component
without changing components hierarchy.
Alexei