public class FormApply extends Object
<f:apply>
button.Constructor and Description |
---|
FormApply() |
Modifier and Type | Method and Description |
---|---|
static org.kohsuke.stapler.HttpResponses.HttpResponseException |
applyResponse(String script)
Generates the response for the asynchronous background form submission (AKA the Apply button.)
|
static boolean |
isApply(org.kohsuke.stapler.StaplerRequest req)
Is this submission from the "apply" button?
|
static org.kohsuke.stapler.HttpResponses.HttpResponseException |
success(String destination)
Generates the response for the form submission in such a way that it handles the "apply" button
correctly.
|
public static org.kohsuke.stapler.HttpResponses.HttpResponseException success(String destination)
destination
- The page that the user will be taken to upon a successful submission (in case this is not via the "apply" button.)public static boolean isApply(org.kohsuke.stapler.StaplerRequest req)
public static org.kohsuke.stapler.HttpResponses.HttpResponseException applyResponse(String script)
When the response HTML includes a JavaScript function in a pre-determined name, that function gets executed. This method generates such a response from JavaScript text.
Copyright © 2004–2022. All rights reserved.