Closed shadogray closed 2 months ago
Nice find. Work around: use a bean property returning int
.
Note: noSelectionOption="true"
is useless without hideNoSelectionOption="true"
. You probably wanted to use itemValue="#{null}"
instead. See also https://stackoverflow.com/q/11360030
MenuRenderer tries to access "size" attribute even if not rendering Listbox. Because on unchecked cast to Integer it will cause a ClassCastException The attribute "size" is not forbidden for Select...Menu.
Example:
Will cause:
Found in: Mojarra 4.0.4 according master bug still exists