major
nice-to-have
defect
major
enhancement
minor
#23459
configuration option `showNoModel` in `EditAttributedComponent`
The behavior when `null` is passed as a model is currently determined in countless implementations by overriding ` supportsInternalModel() `. Instead, it should be possible to configure this behavior.
Code Migration
- Instead of overriding ` supportsInternalModel()`, you must override ` supportsInternalModelNonNull()` and remove the handling for ` null ` from the implementation.
- If the result was previously ` false ` for ` null`, no further action is required.
- If the result was previously `true ` for ` null`, you can either set ` showNoModel="true"` in the configuration or set the programmatic default in the configuration interface: {{{
@Override @BooleanDefault(true) boolean getShowNoModel(); }}}
Test
Refactoring, no test.