【发布时间】:2014-05-19 10:36:41
【问题描述】:
<h:commandButton onclick="window.open('/page.html')" value="test" action="#{bean.myAction}"></h:commandButton>
点击上方后,浏览器会刷新页面并滚动到顶部。
如果我使用“return false;”操作永远不会运行。
我怎样才能阻止这种情况发生?
【问题讨论】:
标签: jsf jsf-2 primefaces