FormSupport

This component needs to be integrated in a form to allow the FormActionLink component to work.
It needs to be integrated both in your template and some support code added in the page or component class which includes it.

This handles the magic which assures the FormActionLinks actually work.

How to include in the template:


<t:form>
<div t:id="formSupport">

<t:errors/>

<!-- include your form content here -->

</div>
</t:form>

In the component of page class, the following needs to be put.


@Component
private FormSupport formSupport;

public Object onSubmit()
{
return formSupport.getLinkTarget();
}
  • 1. FormSupport