如果某些验证失败,我是否需要能够从命令按钮上的操作方法取消导航? 如何取消该动作?
当前,该应用程序将验证失败通知用户,但导航仍继续到下一页。
如本博客所述,同时使用actionListener和action: ://andrejusb.blogspot.co.uk/2011/10/how-to-disable-action-conditionally.html