- iOS/Objective-C 元类和类别
- objective-c - -1001 错误,当 NSURLSession 通过 httpproxy 和/etc/hosts
- java - 使用网络类获取 url 地址
- ios - 推送通知中不播放声音
这些天我似乎遇到了一堆与 JSF 相关的问题......这里又来了:为什么用 f:ajax
声明的 AJAX 调用不仅发布表单的所有字段那些用 execute
声明的?这个问题was already asked在 Sun 论坛中,但由于它们现在已关闭,我无法在那里回复。那里的线程有一个 stub ,对此没有真正的答案。
如果我只需要使用其中的一部分,那么提交所有表单域有什么意义?
最佳答案
我刚刚查看了 Tuuka 在 2011 年 1 月发布的 JSF 票证。它说这种行为(提交所有表单字段)符合 JSF 规范,并且问题已关闭。
JSF 开发人员发布了规范更改通知,指出应在即将发布的规范中对此进行修改。日期为 2013 年 1 月 31 日。https://java.net/jira/browse/JAVASERVERFACES_SPEC_PUBLIC-1098
"f:ajax doesn't obey the 'execute' attribute but always sends all the fields in a form. Mojarra does, however, only process the listed fields as supposed. However, excess fields shouldn't be sent because it increases request size."
"Status: open Priority: major"
关于java - JSF 2.0 : Why does f:ajax send all the form fields and not only those marked with execute-attribute?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3889894/
我是一名优秀的程序员,十分优秀!