- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我想我知道其中的区别,但现在我发现自己很困惑。 :P
他们似乎都在做同样的事情,除了 partialSubmit
用于提交按钮以使用 AJAX 和 autoSubmit
提交表单。用于可编辑组件,它只提交自己的内容。我这样说对吗?
最佳答案
接受的答案对于 ADF 并非 100% 正确。 partialTriggers
属性涉及生命周期。
来自 Enabling Partial Page Rendering Declaratively
The
autoSubmit
attribute on an input component and thepartialSubmit
attribute on a command component are not the same thing. WhenpartialSubmit
is set to true, then only the components that have values for theirpartialTriggers
attribute will be processed through the lifecycle. TheautoSubmit
attribute is used by input and select components to tell the framework to automatically do a form submit whenever the value changes. However, when a form is submitted and theautoSubmit
attribute is set to true, a valueChangeEvent event is invoked, and the lifecycle runs only on the components marked as root components for that event, and their children. For more information, see Section 4.4, "Using the Optimized Lifecycle".
关于jsf - JSF 中的 partialSubmit 和 autoSubmit 有什么区别?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7281379/
我想我知道其中的区别,但现在我发现自己很困惑。 :P 他们似乎都在做同样的事情,除了 partialSubmit用于提交按钮以使用 AJAX 和 autoSubmit 提交表单。用于可编辑组件,它只提
当我的用户在单击复选框后按“Enter”键时,我的表单应该表现得就像按下“下一步”按钮一样。但是,我正在使用 PPR(部分页面渲染),因此当单击它时,我的复选框会触发“下一步”按钮进行重新绘制。这是通
我是一名优秀的程序员,十分优秀!