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

java - WARN : org.springframework.web.servlet.PageNotFound - No mapping found for HTTP request with URI [/board/] in DispatcherServlet with name 'appServlet' -

android - How to create dynamically Fragment pager adapter -

1111. appearing after print sequence - php -