This content has been marked as final. Show 2 replies
Generally, when you use ajax you don't need the <h:commandButton> anymore. The commandButton still does what it does even when you add an ajax tag to it.1 person found this helpful
Try adding an ajax tag to your <h:inputText> elements with the valueChange event attribute, and render="o1" like you have it. You should see the outputText update the way you expect.
I understand what you're saying, but in the specific cases where a commandButton have a f:ajax, and you specify the execute attribute, why it sends every input to the server? I have read the specification but failed to find any mention of this. It would be good if we could restrict what is sent to the server, but I don't know if that is possible in JSF