[{Code

<mak:newForm type="company.Employee" triggerEvent="employeeCreated">
  Name: <mak:input field="name" /><br/>
  Surname: <mak:input field="surname" /><br/>
  <br/>
  <mak:submit>Create employee</mak:submit>
</mak:newForm>

<mak:section name="employees" reloadOn="employeeCreated">
  <mak:list from="company.Employee e">
    <mak:value expr="e.nameSurname()" /><br/>
  </mak:list>
</mak:section>
}]
