ADF Faces 转义按钮不会触发 SelectionListener af:table 的 SelectionEvent

发布于 2024-12-05 13:34:03 字数 215 浏览 8 评论 0原文

为什么退出按钮没有通知我选择已更改? (取消选择)
我对 SelectionListener 有一些验证,按 escape 会跳过我的验证。
这绝对不是正常行为。当按下表格中的 escape 按钮以按下隐藏按钮来捕获该事件时,我可以执行一些 JS。

我错过了什么吗?

一个奇怪的行为是,对于其他一些表,selectionEvent 确实在 Escape 键处触发! ?

Why doesn't escape button notifies me that the selection changed ? (to unselected)
I have some validation on SelectionListener and pressing escape is jumping over my validation.
This is definitely not a normal behavior. I could do some JS when pressing escape from the table to press a hidden button to catch that event.

Am I missing something ?

A weird behavior is that for some other table the selectionEvent does get triggered at Escape Key !! ?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

黑白记忆 2024-12-12 13:34:03

我的错。它有效,我的业务似乎没有调用侦听器。

my bad. it works, my business seemed that the listener wasn't called.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文