AjaxForm

net.sf.tacos.components.ajax.AjaxForm

Description

A port of the AjaxForm component from Tacos 4.0

Parameters

nametyperequireddefault valuedescription
updateComponentsjava.util.List
methodjava.lang.Stringliteral:postThe method used by the form when it is submitted, defaults to "post".
cancelorg.apache.tapestry.IActionListenerObject invoked when the form is cancelled (a special type of form submission). The cancel listener (if any) overrides the standard listener. Other properties will not be affected by the rewind.
listenerorg.apache.tapestry.IActionListenerDefault listener used when no other listener is invoked.
successorg.apache.tapestry.IActionListenerObject invoked when the form is submitted normally (not a cancel or a refresh) and the validation delegate contains no errors.
focusbooleantrueIf true (the default), then the form will attempt to get field focus on the first field in error (or first required field, or just first field) within the form. Set to false to allow a different Form on the same page to claim field focus.
clientValidationEnabledbooleanfalseIf true then client-side validation will be generated upon render for any required or validating fields.
schemejava.lang.StringForces the link to be generated as an absolute URL with the given scheme (unless the scheme matches the scheme for the current request).
jsonbooleanfalse
refreshorg.apache.tapestry.IActionListenerObject invoked when the form is refreshed (a special type of form submission). The refresh listener (if any) overrides the standard listener. Other properties managed by enclosed components will be updated.
delegateorg.apache.tapestry.valid.IValidationDelegatebean:defaultDelegateSpecifies the delegate to be used by fields to track input errors. If not specified, the Form provides a default instance of org.apache.tapestry.valid.ValidationDelegate.
portjava.lang.IntegerForces the link to be generated as an absolute URL with the given port (unless the port matches the port for the current request).
statefulbooleantrueIf true (the default), then an active session is required when the form is submitted, if there was an active session when the form was rendered.

Allow body: ( rendered )

Allow informal parameters:

Reserved parameters: id,name,enctype,action,onsubmit,onreset