DirtyFormWarning

org.apache.tapestry.BaseComponent

Description

Warns user before leaving the page if there are changes to a Form.

Parameters

nametyperequireddefault valuedescription
onWarningobject''Function to be called when a warning is issued
formobjectThe Form component to track changes in.
messageobjectliteral:You have unsaved changesWarning message to display when form is dirty.

Allow body: ( removed )

Allow informal parameters:

Reserved parameters: -