Problem setting value for <h:selectBooleanCheckBox>

Hi All,

This problem has been discussed earlier as well but since I did not get any concrete answer of resolving it, hence am posting the same expecting a solution to this from you all.

I have a <h:selectBooleanCheckBox> component on my page whose value is backed as :

<h:selectBooleanCheckbox id="id_myChkBox"

value="#{myManagedBean.myBO.chkBoxFlag}" />

While getting the value when the page is rendered, it works fine but the setter method for myManagedBean.getMyBO().setChkBoxFlag(boolean) is not called. I am stuck at this and am not able to resolve it.

It would be a great help from you all if you could please help me out with this.

Thanks,

Jayant

[764 byte] By [jayantkdasa] at [2007-11-27 11:54:15]
# 1

Well Sorry to bother you all, I have got the solution for it. It was a mistake on my command button, where I had put immediate="true", removing it solved my problem.

Thanks all if you took your time to see this.

- Jayant

jayantkdasa at 2007-7-29 18:54:53 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...