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

1111. appearing after print sequence - php -

node.js - Express and Redis - If session exists for this user, don't allow access -

excel - I can't get the attachement of the email PHP -