org.zkoss.zk.ui.Execution.getParameter()方法的使用及代码示例

x33g5p2x  于2022-01-19 转载在 其他  
字(1.7k)|赞(0)|评价(0)|浏览(119)

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

Execution.getParameter介绍

[英]Returns the value of a request parameter as a String, or null if the parameter does not exist
[中]以字符串形式返回请求参数的值,如果参数不存在,则返回null

代码示例

代码示例来源:origin: org.zkoss.zk/zk

/** Returns the page redraw control.
   * It first check if a request attribute called
   * {@link Attributes#PAGE_REDRAW_CONTROL} is defined.
   * If not, it checks a request parameter called <code>zk.redrawCtrl</code>
   * is defined. If none of them is defined, null is returned.
   * @since 5.0.0
   */
  public static final String getPageRedrawControl(Execution exec) {
    String ctl = (String) exec.getAttribute(Attributes.PAGE_REDRAW_CONTROL);
    return ctl != null ? ctl : exec.getParameter("zk.redrawCtrl");
  }
}

代码示例来源:origin: org.zkoss.zk/zk

public String getParameter(String name) {
  return exec().getParameter(name);
}

代码示例来源:origin: org.zkoss.zk/zkbind

public Object resolveParameter(Annotation anno, Class<?> returnType) {
    Object val = _execution.getParameter(((QueryParam) anno).value());
    return val == null ? null : Classes.coerce(returnType, val);
  }
});

代码示例来源:origin: org.carewebframework/org.carewebframework.ext.performance

String command = exec.getParameter("cmd_0");
if ("dummy".equals(command)) {
  return;

代码示例来源:origin: org.carewebframework/org.carewebframework.vista.security.impl

defaultInst = execution.getParameter(Constants.DEFAULT_INSTITUTION);

代码示例来源:origin: org.carewebframework/org.carewebframework.security.spring.core

securityDomainId = execution.getParameter(Constants.DEFAULT_SECURITY_DOMAIN);

相关文章