jsf - Why does <f:selectItems> with itemDisabled="#{expr}" not submit disabled selection? -
i've come across bug in our application following xhtml code doesn't work i'd expect it!
<h:selectmanycheckbox value="#{nuv.rollen}" id="rollen" layout="pagedirection"> <f:selectitems var="r" value="#{nuv.findrollen()}" itemlabel="#{r.label}" itemdisabled="#{nuv.isdisabledrolle(r)}" /> <our:entityconverter /><!-- translates our entities , forth --> </h:selectmanycheckbox>
the setter nuv.setrollen(list)
called empty list (at least if items disabled) although disabled items checked in ui. code assumes elements have been deselected. if items enabled works fine.
is behavior normal? i'm confused this.
Comments
Post a Comment