Last active
July 3, 2020 11:10
-
-
Save velotiotech/ffa44ec0336edcfdd92cf2b751ebd940 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Override | |
public boolean configure(StaplerRequest req, JSONObject formData) throws FormException { | |
// To persist global configuration information, | |
// set that to properties and call save(). | |
useFrench = formData.getBoolean("useFrench"); | |
// ^Can also use req.bindJSON(this, formData); | |
//(easier when there are many fields; need set* methods for this, like setUseFrench) | |
save(); | |
return super.configure(req,formData); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment