You are perfectly right, using ViewScoped instead of RequestScoped helped.
But still I don't get what's going wrong when using a RequestScoped bean:
- I click the checkbox, with a partial submit that updates the model
- then, on the form submit, because the disabled attribute is dependent on the value updated at step 1, it should be set to true, and thus get the field validated and updated in the model too
In other words, I don't understand why the textfield is still considered disabled on the backend, while it is enabled in the UI