I am trying to understand the behavior of execute="@form"
and execute="@this"
.
I am using Jsf 2.2 version.
<h:commandButton value="Save" action="{agreement.save}" >
<f:ajax execute="@form" render="@form" />
</h:commandButton>
I am trying to understand the behavior of the following things.
- When to use
execute="@form"
andexecute="@this"
on command button. - What is significance of
render="@form"
. - Is it suggested to use @form in ajax requests.