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

Popular posts from this blog

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -