org.dspace.app.util.Util.getSubmitButton()方法的使用及代码示例

x33g5p2x  于2022-02-01 转载在 其他  
字(1.5k)|赞(0)|评价(0)|浏览(129)

本文整理了Java中org.dspace.app.util.Util.getSubmitButton()方法的一些代码示例,展示了Util.getSubmitButton()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Util.getSubmitButton()方法的具体详情如下:
包路径:org.dspace.app.util.Util
类名称:Util
方法名:getSubmitButton

Util.getSubmitButton介绍

[英]Get the button the user pressed on a submitted form. All buttons should start with the text submit for this to work. A default should be supplied, since often the browser will submit a form with no submit button pressed if the user presses enter.
[中]

代码示例

代码示例来源:origin: DSpace/DSpace

@Override
public ActionResult execute(Context c, XmlWorkflowItem wfi, Step step, HttpServletRequest request)
  throws SQLException, AuthorizeException, IOException, WorkflowException {
  String submitButton = Util.getSubmitButton(request, "submit_cancel");

代码示例来源:origin: de.the-library-code.dspace/addon-duplication-detection-service-api

String buttonPressed = Util.getSubmitButton(request, CANCEL_BUTTON);

代码示例来源:origin: org.dspace/dspace-jspui-api

AuthorizeException
String buttonPressed = Util.getSubmitButton(request, LicenseStep.CANCEL_BUTTON);

代码示例来源:origin: org.dspace/dspace-jspui-api

AuthorizeException
String buttonPressed = Util.getSubmitButton(request, LicenseStep.CANCEL_BUTTON);

代码示例来源:origin: org.dspace/dspace-xmlui-api

public static FlowResult processReorderBitstream(Context context, int itemID, Request request) throws SQLException, AuthorizeException {
  String submitButton = Util.getSubmitButton(request, "submit_update_order");
  FlowResult result = new FlowResult();
  result.setContinue(false);

相关文章