本文整理了Java中org.zkoss.zk.ui.Execution.getParameter()
方法的一些代码示例,展示了Execution.getParameter()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Execution.getParameter()
方法的具体详情如下:
包路径:org.zkoss.zk.ui.Execution
类名称: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);
内容来源于网络,如有侵权,请联系作者删除!