If it loads say within a p:inplace when the value is null, it issues the warning:
"The value is null or empty. Default value 0.0 will be used."
This is from this code:
Code: Select all
public class InputNumberRenderer extends InputRenderer {
..
private String formatForPlugin(final String valueToRender) {
if (valueToRender == null || valueToRender.isEmpty()) {
LOGGER.warning("The value is null or empty. Default value 0.0 will be used.");
return "0.0";
} else {
..
Q: Could you possibly change this behavior to permit null values in pe:inputNumber and a neutral display when the value is null, instead of 0.0 ?