a:commandButton传参数
来源:互联网 发布:java设计图书管理系统 编辑:程序博客网 时间:2024/04/28 02:16
<a4j:commandButton value="Set Name to Alex" reRender="rep" >
<a4j:actionparam name="username" value="Alex" assignTo="#{userBean.name}"/>
</a4j:commandButton>
要后台的BackBean自动设置Alex给userBean.name
或者也可以通过:
Map params = FacesContext.getCurrentInstance().getExternalContext()
.getRequestParameterMap();
String username = (String) params.get("username");
<a4j:actionparam name="username" value="Alex" assignTo="#{userBean.name}"/>
</a4j:commandButton>
要后台的BackBean自动设置Alex给userBean.name
或者也可以通过:
Map params = FacesContext.getCurrentInstance().getExternalContext()
.getRequestParameterMap();
String username = (String) params.get("username");
- a:commandButton传参数
- salesforce commandLink commandButton中通过param传递参数
- jsf提交验证(<a4j:commandButton><h:commandButton>)
- CommandButtonとactionFunction
- commandButton action onclick
- <a href ="">传参数!
- a4j:commandButton不能直接替换h:commandButton的一个特例
- commandButton 和 commandLink 的区别
- [JSF] 慎用rendered于commandButton
- 关于<a href></a>,传参数的总结?
- JSF的commandButton、commandLink、outputLink用法小结
- JSF的commandButton、commandLink、outputLink分析
- DataGrid和DataList中CommandButton的问题
- DataGrid和DataList中CommandButton的问题
- ejb 学习:jsf 部件的提交 commandButton
- JSF中CommandButton与CommandLink传值
- JSF中的commandButton、commandLink、outputLink用法
- PB控件属性之CommandButton和PictureButton
- supervivi下从nfs文件系统启动
- django数据库基本操作增删改查
- GIS application for Electric
- Android中shape的使用
- Android jogball 驱动分析
- a:commandButton传参数
- 为什么你应该(从现在开始就)写博客
- ubuntu--在右键快捷菜单中添加“在终端中打开”及如何从终端中打开文件夹
- 多线程下oci编程的总结教训
- 番茄工作法 初识
- JavaScript类的继承
- 多视图应用
- ACE定时器
- 使用final关键字的规则