Method.INSERT);
form.turnOffChangeCheck();
form.setOnCancelHistoryToken(Session.getInstance().generateUrl(
new CreateUrlRequest(Page.SETTINGS, "tab", "Plugins")));
form.addFormElement(new ValueOnlyFormElement("id", id));
HTML infoMessage = new HTML(
"<span class='gallery-upload-note'><strong>Please Note:</strong><br />"
+ "Please be sure your XML file includes the required fields.<br />"
+ " You will not be able to upload the XML without the required"
+ " fields.</span>");