When you check the box and submit, do you have any validation error?
Values will not be transfered from selectBooleanCheckbox to
#{addCitaHandler.nuevoPaciente} unless validation of complete form is
successful. As a workaround, in your case, you can simply set the '
immediate="true" '  to your selectBooleanCheckbox

En l'instant précis du 27/02/07 13:53, anoe s'exprimait en ces termes:
> Hi all, I've got this two different inputTexts and a selectBooleanCheckbox
> which controls which inputText is rendered, so in the rendered attribute of
> the first inputText i've got this:
>
>        rendered="#{!addCitaHandler.nuevoPaciente}"
>
> and the same without the ! in the second inputText. Of course the
> nuevoPaciente property is controlled with the selectBooleanCheckbox. The
> rendering / not rendering stuff is working ok, but the second inputText is
> not being updated when sending the form. In fact, it's not the second, but
> the inputText which was not showing from the beginning. I've tried using the
> disable attribute instead but it's not working either. If I don't use
> neither rendered nor disabled it works ok. Any idea what's up?
>   

Reply via email to