0

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.

  1. When to use execute="@form" and execute="@this" on command button.
  2. What is significance of render="@form".
  3. Is it suggested to use @form in ajax requests.
Patan
  • 17,073
  • 36
  • 124
  • 198
  • 1
    [See](http://stackoverflow.com/q/25339056/1391249). It is about PrimeFaces where `process` and `update` correspond to `execute` and `render` respectively. – Tiny Jun 27 '15 at 05:56
  • @tiny: why not create this as an answer before a 'half baked' one is posted? – Kukeltje Jun 27 '15 at 08:51
  • It is already answered there in great detail. – Tiny Jun 27 '15 at 10:58

0 Answers0