name | the HTML name of this submit button (optional) |
value | the HTML value of this submit button (optional) |
action | the action to execute when this button is pressed |
id | the HTML ID of this submit button |
class | the HTML class of this submit button |
onClick | arbitrary Javascript to execute when the client clicks the button |
onClickBefore | if the given function returns true, the onClick is executed. This is to support confirm(..) dialogs. |
onServerClick | if the action defined in the action binding returns null, the value of this binding will be returned as javascript from the server |
onComplete | JavaScript function to evaluate when the request has finished. |
onSuccess | javascript to execute in response to the Ajax onSuccess event |
onFailure | javascript to execute in response to the Ajax onFailure event |
onLoading | javascript to execute when loading |
evalScripts | evaluate scripts on the result |
updateContainerID | the id of the AjaxUpdateContainer to update after performing this action |
formSerializer | the name of the javascript function to call to serialize the form |
asynchronous | boolean defining if the request is sent asynchronously or synchronously, defaults to true
// PROTOTYPE EFFECTS |
effect | synonym of afterEffect except it always applies to updateContainerID |
effectDuration | synonym of afterEffectDuration except it always applies to updateContainerID
// PROTOTYPE EFFECTS |
beforeEffect | the Scriptaculous effect to apply onSuccess ("highlight", "slideIn", "blindDown", etc); |
beforeEffectID | the ID of the container to apply the "before" effect to (blank = try nearest container, then try updateContainerID) |
beforeEffectDuration | the duration of the effect to apply before
// PROTOTYPE EFFECTS |
afterEffect | the Scriptaculous effect to apply onSuccess ("highlight", "slideIn", "blindDown", etc); |
afterEffectID | the ID of the container to apply the "after" effect to (blank = try nearest container, then try updateContainerID) |
afterEffectDuration | the duration of the effect to apply after
// PROTOTYPE EFFECTS |
insertion | JavaScript function to evaluate when the update takes place (or effect shortcuts like "Effect.blind", or "Effect.BlindUp") |
insertionDuration | the duration of the before and after insertion animation (if using insertion) |
beforeInsertionDuration | the duration of the before insertion animation (if using insertion) |
afterInsertionDuration | the duration of the after insertion animation (if using insertion) |