FormActionLink

This is a component which looks and feels like a standard Tapestry ActionLink. However, this is supposed to be used inside a equanda/Form component and then assures that the form is submitted (and thus state saved) before actually processing the action.

This component only works when embedded in a "equanda/FormSupport" component which is correctly intergrated. Otherwise it does nothing.

Simple example of use :


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

<t:errors/>

<t:equanda.formactionlink t:id="DoSomething">Do something</t:equanda.formactionlink>

</div>
</t:form>

And in the code, just act as a normal actionlink :


Object onActionFromDoSomething()
{
// now something should be done :-)
}
  • 1. FormActionLink