This content has been marked as final.
Show 2 replies
-
2. Re: How to use selectBooleanCheckbox
fjkjava.febinjk.gmail.com Jul 23, 2010 4:59 PM (in response to fjkjava.febinjk.gmail.com)Thanks Serkan Eskici
Hi All,
I am trying to use selectBooleanCheckbox in my DataTable. I wrote code like this
//In My SessionBean
@Out(required=false)
private Map<String, Boolean> selectedPo = new HashMap<String, Boolean>();
//xhtml
<rich:column>
<h:selectBooleanCheckbox value="#{myManager.selectedPo[po.id.poNum]}" />
</rich:column>
<h:commandButton action="#{myManager.send}" value="Send"/>
And when i check selectedPo in send Method it is Null there(NullPointerException)
Anybody knows the problem here.
Advance thanks for you help
Thanks Serkan Eskici