Class AjaxFormUpdateControllerImpl
java.lang.Object
org.apache.tapestry5.internal.services.ajax.AjaxFormUpdateControllerImpl
- All Implemented Interfaces:
AjaxFormUpdateController
@Scope("perthread")
public class AjaxFormUpdateControllerImpl
extends Object
implements AjaxFormUpdateController
-
Constructor Summary
ConstructorsConstructorDescriptionAjaxFormUpdateControllerImpl
(ComponentSource componentSource, HiddenFieldLocationRules rules, Environment environment, Heartbeat heartbeat, ClientDataEncoder clientDataEncoder, org.slf4j.Logger logger) -
Method Summary
Modifier and TypeMethodDescriptionvoid
Ends the heartbeat, executes deferred Form actions, and cleans up the environmentals.void
initializeForForm
(String formComponentId, String formClientId) void
Called before starting to render a zone's content; initializes theFormSupport
andValidationTracker
environmentals and starts a heartbeat.
-
Constructor Details
-
AjaxFormUpdateControllerImpl
public AjaxFormUpdateControllerImpl(ComponentSource componentSource, HiddenFieldLocationRules rules, Environment environment, Heartbeat heartbeat, ClientDataEncoder clientDataEncoder, org.slf4j.Logger logger)
-
-
Method Details
-
initializeForForm
- Specified by:
initializeForForm
in interfaceAjaxFormUpdateController
-
setupBeforePartialZoneRender
Description copied from interface:AjaxFormUpdateController
Called before starting to render a zone's content; initializes theFormSupport
andValidationTracker
environmentals and starts a heartbeat.- Specified by:
setupBeforePartialZoneRender
in interfaceAjaxFormUpdateController
-
cleanupAfterPartialZoneRender
Description copied from interface:AjaxFormUpdateController
Ends the heartbeat, executes deferred Form actions, and cleans up the environmentals.- Specified by:
cleanupAfterPartialZoneRender
in interfaceAjaxFormUpdateController
-