HomePrevNext

AjaxForm
net.sf.tacos.ajax.components.AjaxForm
  Non-Visual Component
Description
Used to implement an HTML form in ajax requests. Warning!! Not for production use. There are still a lot of javascript related things that need to be fixed before this component will be usable.
Parameters
nametypedirectionrequireddefault valuedescription
updateComponentsjava.lang.Objectcustom  nullCollection/list of component id strings to refresh after invoking listener. 
methodjava.lang.Objectcustom  literal:post The method used by the form when it is submitted, defaults to "post".  
successjava.lang.Objectcustom  null Object invoked when the form is submitted normally (not a cancel or a refresh) and the validation delegate contains no errors.  
canceljava.lang.Objectcustom  null Object 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.  
refreshjava.lang.Objectcustom  null Object 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.  
listenerjava.lang.Objectcustom  null Default listener used when no other listener is invoked.  
statefuljava.lang.Objectcustom  true If 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.  
directjava.lang.Objectcustom  true If true (the default), then the more efficient direct service is used. If false, then the action service is used.  
delegatejava.lang.Objectcustom  bean:defaultDelegate Specifies 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.  
clientValidationEnabledjava.lang.Objectcustom  null If true (the default) then client-side validation will be generated upon render for any required or validating fields.  
focusjava.lang.Objectcustom  true If 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.  
Allow body (rendered)
Allow informal parameters   
Reserved parameters action, name, onsubmit, onreset, enctype
Toggle help

HomePrevNext