3/ can getId() ever return null or "" on a widget instance? Can't we carefully asume programming error and allow for the accidental NPE to be thrown
if (id == null || id.equals("")) { throw new FormsConfigurationException("Widget id cannot be null."); }
where FormsConfigurationException extends RuntimeException, of course ;-).
7/ should validation stop as soon as possible or continue to allow all validation errors to be set?
If you can't make it optional, allow it to continue.
Ugo
