Метод |
Описание |
|
forwardToDifferentControllerThrowsException ( ) |
|
|
forwardWithParameterTriggersTargetAction ( ) |
|
|
forwardWithoutParameterTriggersTargetAction ( ) |
|
|
ifIncludedInATemplateTheWidgetReturnsResultOfItsOwnIndexAction ( ) |
This sends a request to the helper controller (AjaxTestController) which includes
the AJAX widget in its template. The indexAction renders that template which
in turn lets the "someAjax" widget call the indexAction of its own controller
(SomeAjaxController). |
|
redirectToDifferentControllerThrowsException ( ) |
|
|
redirectWithDelayAndNoParameterOutputsRefreshMetaHeader ( ) |
|
|
redirectWithDelayAndWithParameterOutputsRefreshMetaHeader ( ) |
|
|
redirectWithoutDelayAndNoParameterImmediatelyRedirectsToTargetAction ( ) |
|
|
redirectWithoutDelayAndWithParameterImmediatelyRedirectsToTargetAction ( ) |
|
|
setUp ( ) |
Additional setup: Routes |
|
theGeneratedUriLeadsToASpecificActionOfTheAjaxController ( ) |
This sends a request to the helper controller (AjaxTestController) which includes
the AJAX widget in its template. The second line of the output created by the
indexAction() of the "someAjax" widget contains a URI which allows for directly
sending a request (from outside) to the widget, calling the ajaxAction(). |
|