【Primefaces】commandButton/commandLink的一些注意问题
注意问题: commandButton和commandLink需要在标签内使用才有效,默认是ajax提交,可通过ajax=‘false’来设置非ajax提交
MB中方法参数可以加ActionEvent
actionEvent,也可以不加,都可以
public
void
buttonAction(){
kbService
= (KB
原创
2016-08-17 21:50:04 ·
2537 阅读 ·
1 评论