Saturday, July 19, 2008

ActionLink / EventLink / Form submission differences

ActionLink, EventLink, and Form submission all cause the ACTION-REQUEST-RENDER sequence of events. However, in other ways they differ:


* ActionLink and EventLink can submit "context" parameters; Form can submit all of its input and hidden fields.
* ActionLink and EventLink send an HTTP GET; Form sends an HTTP POST (POST allows much more data and doesn't display the data in the URL).
* ActionLink generates one event: ACTION; EventLink generates one event that it nominates. Form generates many events including VALIDATE_FORM, SUCCESS, and FAILURE.

Reference:
http://files.doublenegative.com.au/jumpstart/home.html

No comments :