| org.apache.wicket.markup.html.form.Button org.apache.wicket.ajax.markup.html.form.AjaxFallbackButton
AjaxFallbackButton | abstract public class AjaxFallbackButton extends Button (Code) | | An ajax submit button that will degrade to a normal request if ajax is not
available or javascript is disabled.
since: 1.3 author: Jeremy Thomerson (jthomerson) author: Alastair Maw |
AjaxFallbackButton | public AjaxFallbackButton(String id, Form form)(Code) | | Construct.
Parameters: id - Parameters: form - |
AjaxFallbackButton | public AjaxFallbackButton(String id, IModel model, Form form)(Code) | | Construct.
Parameters: id - Parameters: model - Parameters: form - |
isButtonEnabled | final protected boolean isButtonEnabled()(Code) | | Helper methods that both checks whether the link is enabled and whether
the action ENABLE is allowed.
whether the link should be rendered as enabled |
onError | protected void onError(AjaxRequestTarget target, Form form)(Code) | | Listener method invoked on form submit with errors
Parameters: target - Parameters: form - TODO 1.3: Make abstract to be consistent with onsubmit() |
onSubmit | abstract protected void onSubmit(AjaxRequestTarget target, Form form)(Code) | | Callback for the onClick event. If ajax failed and this event was
generated via a normal submission, the target argument will be null
Parameters: target - ajax target if this linked was invoked using ajax, nullotherwise Parameters: form - |
|
|