Hi to all, here I'm again!
After running around and crawling the web, I have my main issue back again on my desk.
Please, help me to undertand if there is a solution to my ancient problem.
The scenario in quite simple:
-
jsf 1.2
- richfaces
- ajax
Two required input text,
rollo and
job1.
An a4j:commandButton that updates the value oh the backing bean property linked to rollo input text.
It works fine: the button updates the backing bean and the input text on the page shows the updated value.
BUT when I submit the form and I trigger a validation error of a component JOB1 on the, the a4j:commandButton updates only the backing bean and not the field on the page. Indeed, if the component with validation problem is the one designed to be updated by the ajax call, IT WORKS. But if ANY other component is invalid, the ajax button can update only the backing bean and not the component. Maybe after the submit something happens that block the update. Losing my head, sorry.
is there a logic reason for that behaviour? Is there a workaround?
Many thanks!